Commit 328d2170 by 李嘉林

驿联生产配置

parent 84ab7a98
......@@ -40,6 +40,7 @@ module.exports = {
xhyx_prod: require('./xhyx_prod.env'),
wly_prod: require('./wly_prod.env'),
ylkj_uat: require('./ylkj_uat.env'),
ylkj_prod: require('./ylkj_prod.env'),
}
return configFile[process.env.NODE_ENV];
})(),
......@@ -70,6 +71,7 @@ module.exports = {
xhyx_uat: require('./xhyx_uat.env'),
xhyx_prod: require('./xhyx_prod.env'),
ylkj_uat: require('./ylkj_uat.env'),
ylkj_prod: require('./ylkj_prod.env'),
}
return configFile[process.env.NODE_ENV];
})(),
......
/*
* @Author: your name
* @Date: 2020-10-21 09:46:59
* @LastEditTime: 2020-10-22 14:09:41
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \mayi-mp-shop\config\dev.env.js
*/
var merge = require('webpack-merge')
var prodEnv = require('./prod.env')
module.exports = merge(prodEnv, {//zjgyl
SHOP_MIXID:"'YLKJ'",
NODE_ENV: '"ylkj_prod"',
// BASE_URL:"'https://shop.mayi888.com'",
// BASE_URL:"'http://192.168.1.146:3005'",
// BASE_URL:"'http://172.16.1.18:3000'",
BASE_URL:"'https://customer.elinkstation.com'",
ADMIN_URL:"'https://admin.elinkstation.com'",
GUIDE_URL:"'https://guide-m.mayi888.cn'",
// BASE_URL:"'http://192.168.137.1:3004'",
OLSHOP_URL:'"https://customer.elinkstation.com/innerApi/shopApiService"',
// OLSHOP_URL:'"https://shop.mayi888.com/innerApi/shopApiService"',
IMG_DOMAIN: '"https://admin.elinkstation.com"',
POSTHOG_KEY: '"phc_nTr1oY7NkSuDMZsqCskE6iUIGKgWPmFHlRAKFVuZD2B"',
POSTHOG_HOST: '"https://posthog.mayi118.com"',
AREA_JSON: '"https://mayi-newshop.oss-cn-shanghai.aliyuncs.com/static/js/app.area.json"',
MANALYTICS_HOST: '"https://analytics.mayi888.cn/ma.gif"',
// IMG_DOMAIN: '"http://cdn.mayi888.com"',
})
......@@ -9,6 +9,7 @@
"dev:wx": "cross-env NODE_ENV=development node build/dev-server.js wx",
"dev:xhyx_uat": "cross-env NODE_ENV=xhyx_uat node build/dev-server.js wx",
"dev:ylkj_uat": "cross-env NODE_ENV=ylkj_uat node build/dev-server.js wx",
"dev:ylkj_prod": "cross-env NODE_ENV=ylkj_prod node build/dev-server.js wx",
"dev:production": "cross-env NODE_ENV=production node build/dev-server.js wx",
"pro:wx": "cross-env NODE_ENV=production node build/dev-server.js wx",
"pro:xhyx_prod": "cross-env NODE_ENV=xhyx_prod node build/dev-server.js wx",
......
......@@ -38,7 +38,8 @@ export default {
xhyx_uat: { "mixid":"xhyxshop", "shopid": 1 },
xhyx_prod: { "mixid":"xhyxshop", "shopid": 1 },
wly_prod: { "mixid":"WLYSWT", "shopid": 2 },
ylkj_uat: { "mixid":"YLKJ", "shopid": 8 }
ylkj_uat: { "mixid":"YLKJ", "shopid": 8 },
ylkj_prod: { "mixid":"YLKJ", "shopid": 8 }
}
extConfig = shopItem[process.env.NODE_ENV];
wx.setStorageSync("extConfig", JSON.stringify(extConfig));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment