...
|
...
|
@@ -48,7 +48,15 @@ class cartModel extends global.yoho.BaseModel { |
|
|
shopping_key: shoppingKey,
|
|
|
is_support_mlp: 'Y'
|
|
|
}}).then((data) => {
|
|
|
return data.code === 200 ? cartProcess.processData(data, cartType) : void 0;
|
|
|
if (data.code === 200) {
|
|
|
return cartProcess.processData(data, cartType);
|
|
|
} else if (data.code === 500) {
|
|
|
return data;
|
|
|
} else {
|
|
|
return void 0;
|
|
|
}
|
|
|
|
|
|
// return data.code === 200 ? cartProcess.processData(data, cartType) : void 0;
|
|
|
});
|
|
|
}
|
|
|
|
...
|
...
|
|