This commit is contained in:
parent
81fa4da0e8
commit
d1621e78f1
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue