Authored by lzhy

增加灰度接口地址配置

{
"name": "yoho-shop-manage",
"version": "1.3.2",
"version": "1.3.3",
"description": "",
"main": "app.js",
"scripts": {
... ...
... ... @@ -226,6 +226,12 @@ if (global.env.Production) {
domains.platform = 'http://api.platform.yohoops.org/platform';
domains.shop = 'http://10.66.50.140:30016';
}
// 新配置灰度aip地址 lzhy 2020-09-24
if (global.env.Gray) {
domains.erp = 'http://erp-pre.yohops.com';
domains.platform = 'http://api.platform.yohoops.org/platform';
domains.shop = 'http://10.66.50.140:30016';
}
_.each(domainApis, (apis, domainName) => {
_.each(apis, (url, api) => {
... ...