修复部分问题

This commit is contained in:
2025-08-01 10:21:14 +08:00
parent 7c2b8b7840
commit 80c07fe756
4 changed files with 19 additions and 7 deletions

View File

@@ -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]
}