Merge branch 'hotfix/cate' into 'master'
调整分类接口创意生活字段名称 See merge request !1766
Showing
1 changed file
with
3 additions
and
0 deletions
@@ -70,8 +70,11 @@ module.exports = class extends global.yoho.BaseModel { | @@ -70,8 +70,11 @@ module.exports = class extends global.yoho.BaseModel { | ||
70 | // 统一频道名称 | 70 | // 统一频道名称 |
71 | result.data.boys = result.data.boy; | 71 | result.data.boys = result.data.boy; |
72 | result.data.girls = result.data.girl; | 72 | result.data.girls = result.data.girl; |
73 | + result.data.lifestyle = result.data.lifestyle || result.data.LifeStyle; | ||
74 | + | ||
73 | _.unset(result.data, 'boy'); | 75 | _.unset(result.data, 'boy'); |
74 | _.unset(result.data, 'girl'); | 76 | _.unset(result.data, 'girl'); |
77 | + _.unset(result.data, 'LifeStyle'); | ||
75 | 78 | ||
76 | return result.data; | 79 | return result.data; |
77 | }).then((list) => { | 80 | }).then((list) => { |
-
Please register or login to post a comment