Authored by 毕凯

Merge branch 'hotfix/brand' into 'gray'

Hotfix/brand



See merge request !1388
@@ -73,7 +73,8 @@ class payModel extends global.yoho.BaseModel { @@ -73,7 +73,8 @@ class payModel extends global.yoho.BaseModel {
73 _.get(result, 'data.payment_amount'), 73 _.get(result, 'data.payment_amount'),
74 pay_expire: _.get(result, 'data.order_detail_info.ext.pay_expire') || 74 pay_expire: _.get(result, 'data.order_detail_info.ext.pay_expire') ||
75 _.get(result, 'data.pay_expire'), 75 _.get(result, 'data.pay_expire'),
76 - order_goods: _.get(result, 'data.order_goods') 76 + order_goods: _.get(result, 'data.order_goods'),
  77 + package_info: _.get(result, 'data.package_info', [])
77 } 78 }
78 }; 79 };
79 } 80 }
@@ -84,6 +85,8 @@ class payModel extends global.yoho.BaseModel { @@ -84,6 +85,8 @@ class payModel extends global.yoho.BaseModel {
84 return Promise.resolve({}); 85 return Promise.resolve({});
85 } 86 }
86 87
  88 + param.uid.appVersion = _.get(global, 'yoho.config.appVersion');
  89 +
87 return this.get({data: { 90 return this.get({data: {
88 method: 'app.SpaceOrders.detail', 91 method: 'app.SpaceOrders.detail',
89 uid: param.uid, 92 uid: param.uid,
@@ -172,6 +172,8 @@ module.exports = class extends global.yoho.BaseModel { @@ -172,6 +172,8 @@ module.exports = class extends global.yoho.BaseModel {
172 return Promise.resolve({}); 172 return Promise.resolve({});
173 } 173 }
174 174
  175 + uid.appVersion = _.get(global, 'yoho.config.appVersion');
  176 +
175 return this.get({ 177 return this.get({
176 data: { 178 data: {
177 method: 'app.SpaceOrders.detail', 179 method: 'app.SpaceOrders.detail',
@@ -42,7 +42,7 @@ const domains = { @@ -42,7 +42,7 @@ const domains = {
42 42
43 module.exports = { 43 module.exports = {
44 app: 'h5', 44 app: 'h5',
45 - appVersion: '6.5.3', // 调用api的版本 45 + appVersion: '6.6.0', // 调用api的版本
46 appName: 'yohobuywap-node', 46 appName: 'yohobuywap-node',
47 port: 6001, 47 port: 6001,
48 siteUrl: '//m.yohobuy.com', 48 siteUrl: '//m.yohobuy.com',