...
|
...
|
@@ -799,14 +799,17 @@ const getShopCategory = (params) => { |
|
|
};
|
|
|
|
|
|
/**
|
|
|
* 获取店铺优惠券列表
|
|
|
* @return {[array]}
|
|
|
* @param params
|
|
|
* [获取店铺优惠券列表]
|
|
|
* @param {[type]} params [参数]
|
|
|
* @param {Boolean} isCache [是否缓存]
|
|
|
* @return {[type]} []
|
|
|
*/
|
|
|
const shopCouponsList = (params) => {
|
|
|
const shopCouponsList = (params, isCache) => {
|
|
|
return api.get('', Object.assign({
|
|
|
method: 'shop.coupons.list'
|
|
|
}, params)).then(result => {
|
|
|
}, params), {
|
|
|
cache: isCache ? true : false
|
|
|
}).then(result => {
|
|
|
let shopCoupons = [];
|
|
|
let couPonstatus;
|
|
|
|
...
|
...
|
|