Showing
2 changed files
with
14 additions
and
1 deletions
@@ -36,6 +36,19 @@ function _paramHanlde(obj) { | @@ -36,6 +36,19 @@ function _paramHanlde(obj) { | ||
36 | obj.standard_value_id = standards[1]; | 36 | obj.standard_value_id = standards[1]; |
37 | } | 37 | } |
38 | 38 | ||
39 | + if (obj.channel) { | ||
40 | + switch (obj.channel) { | ||
41 | + case 'men': | ||
42 | + obj.gender = '1,3'; | ||
43 | + break; | ||
44 | + case 'women': | ||
45 | + obj.gender = '2,3'; | ||
46 | + break; | ||
47 | + default: | ||
48 | + break; | ||
49 | + } | ||
50 | + } | ||
51 | + | ||
39 | return obj; | 52 | return obj; |
40 | } | 53 | } |
41 | 54 |
@@ -135,7 +135,7 @@ const ShopService = { | @@ -135,7 +135,7 @@ const ShopService = { | ||
135 | info.shopId = shopId; | 135 | info.shopId = shopId; |
136 | info.name = shopIntro.shopName; | 136 | info.name = shopIntro.shopName; |
137 | info.info = shopIntro.shopIntro; | 137 | info.info = shopIntro.shopIntro; |
138 | - info.btnName = '店铺介绍'; | 138 | + info.btnName = '品牌介绍'; |
139 | info.isFavorite = shopIntro.isFavorite === 'Y'; | 139 | info.isFavorite = shopIntro.isFavorite === 'Y'; |
140 | 140 | ||
141 | let shopData = yield Promise.all([ShopService.getShopDecorator(shopId), | 141 | let shopData = yield Promise.all([ShopService.getShopDecorator(shopId), |
-
Please register or login to post a comment