优化
This commit is contained in:
@@ -1,19 +1,22 @@
|
|||||||
//打包时修改env的值即可
|
//打包时修改env的值即可
|
||||||
const env = 'production' //test,production,local
|
const env = 'local' //test,production,local
|
||||||
|
|
||||||
export const encryptKey = '1234567890123456' // http数据加解密的key
|
export const encryptKey = '1234567890123456' // http数据加解密的key
|
||||||
|
|
||||||
export const apiUrl = '/czg/'
|
// export const apiUrl = '/czg/'
|
||||||
|
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',
|
||||||
}
|
}
|
||||||
|
|
||||||
export const AppConfig = {
|
export const AppConfig = {
|
||||||
production: 'https://dj-api.hnsiyao.cn',
|
production: 'https://dj-api.hnsiyao.cn',
|
||||||
test: 'https://web-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() {
|
export function returnShareUrl() {
|
||||||
|
|||||||
@@ -9,7 +9,8 @@ import {
|
|||||||
import config from "@/commons/config.js";
|
import config from "@/commons/config.js";
|
||||||
|
|
||||||
// 测试服
|
// 测试服
|
||||||
let baseUrl = config.baseApiUrl + "app";
|
// let baseUrl = config.baseApiUrl + "app";
|
||||||
|
let baseUrl = config.baseApiUrl;
|
||||||
const loadingShowTime = 200;
|
const loadingShowTime = 200;
|
||||||
|
|
||||||
function getHeader(data) {
|
function getHeader(data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user