切换正式PHP

This commit is contained in:
gyq
2025-08-08 09:27:29 +08:00
parent 85205caa74
commit 855a884c4c

View File

@@ -3,16 +3,16 @@ const env = 'php_production' //test,production,local
export const encryptKey = '1234567890123456' // http数据加解密的key export const encryptKey = '1234567890123456' // http数据加解密的key
// export const apiUrl = '/czg/' export const apiUrl = '/czg/app/'
export const apiUrl = '/api/' // export const apiUrl = '/api/'
export const h5Config = { export const h5Config = {
production: 'https://web.hnsiyao.cn', production: 'https://web.hnsiyao.cn',
test: 'https://web-api.hnsiyao.cn', test: 'https://web-api.hnsiyao.cn',
// local: 'http://192.168.1.21:8100', // local: 'http://192.168.1.21:8100',
local: 'http://192.168.1.43:1333', 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', hong: 'http://192.168.1.31:8080',
php_production:'https://playlet.test.sxczgkj.com' php_production: 'https://ph.hnsiyao.cn'
} }
export const AppConfig = { export const AppConfig = {
@@ -20,9 +20,9 @@ export const AppConfig = {
test: 'https://web-api.hnsiyao.cn', test: 'https://web-api.hnsiyao.cn',
// local: 'http://192.168.1.21:8100', // local: 'http://192.168.1.21:8100',
local: 'http://192.168.1.43:1333', 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', hong: 'http://192.168.1.31:8080',
php_production:'https://playlet.test.sxczgkj.com' php_production: 'https://ph.hnsiyao.cn'
} }
export function returnShareUrl() { export function returnShareUrl() {
@@ -33,7 +33,7 @@ export function returnShareUrl() {
return 'https://dj-h5.hnsiyao.cn' return 'https://dj-h5.hnsiyao.cn'
} }
if (env === 'php_production') { if (env === 'php_production') {
return 'https://playlet.test.h5.sxczgkj.com' return 'https://ph-h5.hnsiyao.cn'
} }
if (env === 'local') { if (env === 'local') {
return AppConfig[env] return AppConfig[env]