修复部分问题
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//打包时修改env的值即可
|
||||
const env = 'zhangsong_local' //test,production,local
|
||||
const env = 'php_production' //test,production,local
|
||||
|
||||
export const encryptKey = '1234567890123456' // http数据加解密的key
|
||||
|
||||
@@ -10,7 +10,9 @@ export const h5Config = {
|
||||
test: 'https://web-api.hnsiyao.cn',
|
||||
// local: 'http://192.168.1.21:8100',
|
||||
local: 'http://192.168.1.43:1333',
|
||||
zhangsong_local:'http://192.168.1.54:1024'
|
||||
zhangsong_local:'http://192.168.1.54:1024',
|
||||
hong:'http://192.168.1.31:8080',
|
||||
php_production:'https://playlet.test.sxczgkj.com'
|
||||
}
|
||||
|
||||
export const AppConfig = {
|
||||
@@ -18,7 +20,9 @@ export const AppConfig = {
|
||||
test: 'https://web-api.hnsiyao.cn',
|
||||
// local: 'http://192.168.1.21:8100',
|
||||
local: 'http://192.168.1.43:1333',
|
||||
zhangsong_local:'http://192.168.1.54:1024'
|
||||
zhangsong_local:'http://192.168.1.54:1024',
|
||||
hong:'http://192.168.1.31:8080',
|
||||
php_production:'https://playlet.test.sxczgkj.com'
|
||||
}
|
||||
|
||||
export function returnShareUrl() {
|
||||
@@ -28,6 +32,9 @@ export function returnShareUrl() {
|
||||
if (env === 'production') {
|
||||
return 'https://dj-h5.hnsiyao.cn'
|
||||
}
|
||||
if (env === 'php_production') {
|
||||
return 'https://playlet.test.sxczgkj.com'
|
||||
}
|
||||
if (env === 'local') {
|
||||
return AppConfig[env]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user