...
|
...
|
@@ -21,7 +21,8 @@ const indexData = (uid, shoppingKey, saleChannel, cartType) => { |
|
|
method: 'app.Shopping.queryCart',
|
|
|
uid: uid,
|
|
|
shopping_key: shoppingKey,
|
|
|
sale_channel: saleChannel
|
|
|
sale_channel: saleChannel,
|
|
|
is_support_mlp: 'Y'
|
|
|
}).then((data) => {
|
|
|
return data.code === 200 ? cartProcess.processData(data, cartType) : void 0;
|
|
|
});
|
...
|
...
|
@@ -40,7 +41,8 @@ const selectGood = (uid, sku, shoppingKey, cartType) => { |
|
|
method: 'app.Shopping.selectedAndQryCart',
|
|
|
product_sku_list: sku,
|
|
|
uid: uid,
|
|
|
shopping_key: shoppingKey
|
|
|
shopping_key: shoppingKey,
|
|
|
is_support_mlp: 'Y'
|
|
|
}).then((data) => {
|
|
|
return data.code === 200 ? cartProcess.processData(data, cartType) : void 0;
|
|
|
});
|
...
|
...
|
@@ -59,7 +61,8 @@ const removeFromCart = (uid, sku, shoppingKey, cartType) => { |
|
|
method: 'app.Shopping.removeAndQryCart',
|
|
|
product_sku_list: sku,
|
|
|
uid: uid,
|
|
|
shopping_key: shoppingKey
|
|
|
shopping_key: shoppingKey,
|
|
|
is_support_mlp: 'Y'
|
|
|
}).then((data) => {
|
|
|
return data.code === 200 ? cartProcess.processData(data, cartType) : void 0;
|
|
|
});
|
...
|
...
|
@@ -170,7 +173,8 @@ const addToFav = (uid, sku, shoppingKey, cartType) => { |
|
|
method: 'app.Shopping.addfavoriteAndQryCart',
|
|
|
product_sku_list: sku,
|
|
|
uid: uid,
|
|
|
shopping_key: shoppingKey
|
|
|
shopping_key: shoppingKey,
|
|
|
is_support_mlp: 'Y'
|
|
|
}).then((data) => {
|
|
|
return data.code === 200 ? cartProcess.processData(data, cartType) : void 0;
|
|
|
});
|
...
|
...
|
|