This commit is contained in:
gyq 2025-07-07 09:29:14 +08:00
parent 81fa4da0e8
commit d1621e78f1
2 changed files with 9 additions and 5 deletions

View File

@ -1,19 +1,22 @@
//打包时修改env的值即可
const env = 'production' //test,production,local
const env = 'local' //test,production,local
export const encryptKey = '1234567890123456' // http数据加解密的key
export const apiUrl = '/czg/'
// export const apiUrl = '/czg/'
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.21:8100',
local: 'http://192.168.1.43:1333',
}
export const AppConfig = {
production: 'https://dj-api.hnsiyao.cn',
test: 'https://web-api.hnsiyao.cn',
local: 'http://192.168.1.41:8100'
// local: 'http://192.168.1.21:8100',
local: 'http://192.168.1.43:1333',
}
export function returnShareUrl() {

View File

@ -9,7 +9,8 @@ import {
import config from "@/commons/config.js";
// 测试服
let baseUrl = config.baseApiUrl + "app";
// let baseUrl = config.baseApiUrl + "app";
let baseUrl = config.baseApiUrl;
const loadingShowTime = 200;
function getHeader(data) {