代码提交-3-13

This commit is contained in:
2026-03-13 14:32:24 +08:00
parent 3ca2451b2f
commit ae4aede94d
27 changed files with 2285 additions and 517 deletions

View File

@@ -10,8 +10,8 @@ import {
tansParams
} from '@/utils/common'
let timeout = 10000
const baseUrl = 'http://172.20.10.2:8081'
let timeout = 30000
const baseUrl = appConfig.baseUrl
const request = config => {
// 是否需要设置 token
@@ -30,7 +30,7 @@ const request = config => {
uni.request({
method: config.method || 'get',
timeout: config.timeout || timeout,
url: appConfig.baseUrl + config.url || baseUrl + config.url,
url: baseUrl + config.url,
data: config.data,
header: config.header,
dataType: 'json'