切换正式PHP
This commit is contained in:
parent
85205caa74
commit
855a884c4c
|
|
@ -3,16 +3,16 @@ const env = 'php_production' //test,production,local
|
|||
|
||||
export const encryptKey = '1234567890123456' // http数据加解密的key
|
||||
|
||||
// export const apiUrl = '/czg/'
|
||||
export const apiUrl = '/api/'
|
||||
export const apiUrl = '/czg/app/'
|
||||
// export const apiUrl = '/api/'
|
||||
export const h5Config = {
|
||||
production: 'https://web.hnsiyao.cn',
|
||||
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',
|
||||
hong:'http://192.168.1.31:8080',
|
||||
php_production:'https://playlet.test.sxczgkj.com'
|
||||
zhangsong_local: 'http://192.168.1.54:1024',
|
||||
hong: 'http://192.168.1.31:8080',
|
||||
php_production: 'https://ph.hnsiyao.cn'
|
||||
}
|
||||
|
||||
export const AppConfig = {
|
||||
|
|
@ -20,9 +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',
|
||||
hong:'http://192.168.1.31:8080',
|
||||
php_production:'https://playlet.test.sxczgkj.com'
|
||||
zhangsong_local: 'http://192.168.1.54:1024',
|
||||
hong: 'http://192.168.1.31:8080',
|
||||
php_production: 'https://ph.hnsiyao.cn'
|
||||
}
|
||||
|
||||
export function returnShareUrl() {
|
||||
|
|
@ -33,7 +33,7 @@ export function returnShareUrl() {
|
|||
return 'https://dj-h5.hnsiyao.cn'
|
||||
}
|
||||
if (env === 'php_production') {
|
||||
return 'https://playlet.test.h5.sxczgkj.com'
|
||||
return 'https://ph-h5.hnsiyao.cn'
|
||||
}
|
||||
if (env === 'local') {
|
||||
return AppConfig[env]
|
||||
|
|
|
|||
Loading…
Reference in New Issue