...
|
...
|
@@ -183,7 +183,6 @@ const favoriteProductListAsync = (uid, page, limit, selectedSort, subscribe, red |
|
|
|
|
|
result.goods = getGoodsInfo(productList, page, limit);
|
|
|
result.pager = pager(total, Object.assign(query, {hasCheckAll: true}));
|
|
|
result.pager.hasCheckAll = true;
|
|
|
|
|
|
return result;
|
|
|
})();
|
...
|
...
|
@@ -351,6 +350,9 @@ const disableNoticeAsync = (uid, id) => { |
|
|
})();
|
|
|
};
|
|
|
|
|
|
/**
|
|
|
* ids 是 group,品牌删除
|
|
|
*/
|
|
|
const cancelBrandAsync = co(function * (uid, ids ,group) {
|
|
|
if (group.bid) {
|
|
|
yield favoriteApi.cancel.brand(uid, group.bid);
|
...
|
...
|
@@ -385,6 +387,6 @@ module.exports = { |
|
|
reductionAsync,
|
|
|
enableNoticeAsync,
|
|
|
disableNoticeAsync,
|
|
|
cancelBrandAsync,
|
|
|
cancelAsync,
|
|
|
cancelBrandAsync
|
|
|
}; |
...
|
...
|
|