...
|
...
|
@@ -187,13 +187,12 @@ function loadCartDetail(key) { |
|
|
function delCartGoods(data, callback) {
|
|
|
var param = {
|
|
|
return_type: 'jsonp',
|
|
|
method: 'open.Shoppingcart.delone',
|
|
|
shopping_key: data.key,
|
|
|
id: data.id,
|
|
|
isreduce: data.isreduce
|
|
|
product_sku: data.sku,
|
|
|
promotion_id: data.proid,
|
|
|
product_num: data.num
|
|
|
};
|
|
|
|
|
|
$.getJSON('http://www.yohobuy.com/common/shoppingCart/?callback=?', param, function(jsonData) {
|
|
|
$.getJSON('http://www.yohobuy.com/common/delCartGoods/?callback=?', param, function(jsonData) {
|
|
|
var strG = '';
|
|
|
|
|
|
if (jsonData.code === 200) {
|
...
|
...
|
|