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