|
@@ -11,18 +11,13 @@ const test = {
|
|
TOP_LOGO: '/static/logo2.png',
|
|
TOP_LOGO: '/static/logo2.png',
|
|
SCAN_LOGO: '/static/me/logo.png'
|
|
SCAN_LOGO: '/static/me/logo.png'
|
|
}
|
|
}
|
|
-let isDev
|
|
|
|
-// #ifdef H5
|
|
|
|
-isDev = process.env.NODE_ENV === 'development'
|
|
|
|
-// #endif
|
|
|
|
-// #ifdef MP-WEIXIN
|
|
|
|
-isDev = __wxConfig.envVersion === 'develop'
|
|
|
|
-// #endif
|
|
|
|
-// const index = 0 // 祥粤云学堂
|
|
|
|
-// const index = 1 // 祥粤学堂
|
|
|
|
-// const index = 2 // 勘设云学堂
|
|
|
|
-const index = 3 // 中正云学堂
|
|
|
|
|
|
+// const index = 0 // 测试环境
|
|
|
|
+// const index = 1 // 祥粤云学堂
|
|
|
|
+// const index = 2 // 祥粤学堂
|
|
|
|
+const index = 3 // 勘设云学堂
|
|
|
|
+// const index = 4 // 中正云学堂
|
|
const set = [
|
|
const set = [
|
|
|
|
+ test,
|
|
// 祥粤云学堂
|
|
// 祥粤云学堂
|
|
{
|
|
{
|
|
BASE_URL: 'https://api.xyyxt.net',
|
|
BASE_URL: 'https://api.xyyxt.net',
|
|
@@ -76,5 +71,5 @@ const set = [
|
|
SCAN_LOGO: '/static/me/logo145.png'
|
|
SCAN_LOGO: '/static/me/logo145.png'
|
|
}
|
|
}
|
|
]
|
|
]
|
|
-export default isDev ? test : set[index]
|
|
|
|
|
|
+export default set[index]
|
|
|
|
|