Authored by 刘志远

Merge branch 'feature/gray-gateway' into 'master'

增加灰度接口地址配置

增加灰度接口地址配置

See merge request !116
1 { 1 {
2 "name": "yoho-shop-manage", 2 "name": "yoho-shop-manage",
3 - "version": "1.3.2", 3 + "version": "1.3.3",
4 "description": "", 4 "description": "",
5 "main": "app.js", 5 "main": "app.js",
6 "scripts": { 6 "scripts": {
@@ -226,6 +226,12 @@ if (global.env.Production) { @@ -226,6 +226,12 @@ if (global.env.Production) {
226 domains.platform = 'http://api.platform.yohoops.org/platform'; 226 domains.platform = 'http://api.platform.yohoops.org/platform';
227 domains.shop = 'http://10.66.50.140:30016'; 227 domains.shop = 'http://10.66.50.140:30016';
228 } 228 }
  229 +// 新配置灰度aip地址 lzhy 2020-09-24
  230 +if (global.env.Gray) {
  231 + domains.erp = 'http://erp-pre.yohops.com';
  232 + domains.platform = 'http://api.platform.yohoops.org/platform';
  233 + domains.shop = 'http://10.66.50.140:30016';
  234 +}
229 235
230 _.each(domainApis, (apis, domainName) => { 236 _.each(domainApis, (apis, domainName) => {
231 _.each(apis, (url, api) => { 237 _.each(apis, (url, api) => {