Authored by 毕凯

服务端配置查询

... ... @@ -40,6 +40,13 @@ const _getProductBySkns = function(productObj, extraParams) {
* 获取店铺组店铺数据
*/
const _getShopGroup = (shopRawData) => {
// 个性化店铺组,前端去查询
if (shopRawData.searchCondition) {
shopRawData.individuation = true;
return Promise.resolve();
}
// 固定店铺组
return api.get('', {
method: 'app.shops.batchGetShops',
shop_ids: shopRawData.defaultShopIds
... ...
... ... @@ -101,7 +101,11 @@
{{#isEqualOr type 'shopGroup'}}
{{!-- 店铺组 --}}
{{#if individuation}}
<div class="shop-individuation" data-config="{{stringify this}}"></div>
{{else}}
{{> feature/shop-group}}
{{/if}}
{{/isEqualOr}}
{{#isEqualOr type 'productGroup'}}
... ...