Authored by yyq

已下架商品处理

... ... @@ -91,10 +91,15 @@ const getProductItemData = (params, url, uid) => {
let resData = {};
let data = {};
// 如果status为0,即商品下架时则返回空对象
if (!result.status) {
return resData;
}
if (!result.productName &&
!result.erpProductId &&
!result.productPriceBo) {
return data;
return resData;
}
result.uid = uid;
... ...