Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
504452087e | ||
|
|
e077da1515 | ||
|
|
55a6b589ab | ||
|
|
1150eb5a9d | ||
|
|
4834ebfdf7 |
|
|
@ -17,10 +17,10 @@ const development = {
|
|||
|
||||
// 生产环境配置
|
||||
const production = {
|
||||
// baseUrl: 'https://youda.zfunbox.cn',
|
||||
baseUrl: 'https://api.zfunbox.cn',
|
||||
|
||||
baseUrl: 'https://youda.zfunbox.cn',
|
||||
imageUrl: 'https://image.zfunbox.cn',
|
||||
loginPage: 'https://api.zfunbox.cn/login.html',
|
||||
loginPage: 'https://youda.zfunbox.cn/login.html',
|
||||
wxAppId: 'wx0e33d80d35e4a3b1'
|
||||
};
|
||||
|
||||
|
|
@ -33,7 +33,7 @@ const testing = {
|
|||
};
|
||||
|
||||
// 根据环境变量选择对应配置
|
||||
let currentEnv = production;
|
||||
let currentEnv = development;
|
||||
|
||||
// 判断当前环境
|
||||
// #ifdef H5
|
||||
|
|
@ -46,7 +46,7 @@ if (process.env.NODE_ENV === 'production') {
|
|||
|
||||
// #ifdef MP-WEIXIN
|
||||
// currentEnv =testing;//小程序默认使用测试环境配置
|
||||
// currentEnv = production; // 小程序默认使用生产环境配置
|
||||
currentEnv = production; // 小程序默认使用生产环境配置
|
||||
// #endif
|
||||
|
||||
// 衍生配置
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@
|
|||
"quickapp" : {},
|
||||
/* 小程序特有相关 */
|
||||
"mp-weixin" : {
|
||||
"appid" : "wx683d8a8a499d7ec6",
|
||||
"appid" : "wx9ade414ae5755f0d",
|
||||
"setting" : {
|
||||
"urlCheck" : false,
|
||||
"es6" : false,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user