测试部署
This commit is contained in:
parent
351d1dac82
commit
89abc2768a
|
|
@ -112,11 +112,18 @@ export function loginByMall(data) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// // 获取系统配置
|
||||||
|
// export const getConfig = () => {
|
||||||
|
// return request({
|
||||||
|
// url: '/auth/getConfig',
|
||||||
|
// method: 'get'
|
||||||
|
// })
|
||||||
|
// }
|
||||||
|
|
||||||
// 获取系统配置
|
// 获取系统配置
|
||||||
export const getConfig = () => {
|
export function getConfig() {
|
||||||
return request({
|
return request({
|
||||||
url: '/auth/getConfig',
|
url: '/auth/getConfig',
|
||||||
method: 'get'
|
method: 'get'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -29,9 +29,9 @@ service.interceptors.request.use((config) => {
|
||||||
// 提取 headers 和方法
|
// 提取 headers 和方法
|
||||||
const headers = config.headers || {}
|
const headers = config.headers || {}
|
||||||
const {
|
const {
|
||||||
encryptRequest = false,
|
encryptRequest = true,
|
||||||
checkIntegrity = false,
|
checkIntegrity = true,
|
||||||
encryptResponse = false,
|
encryptResponse = true,
|
||||||
repeatSubmit = false
|
repeatSubmit = false
|
||||||
} = headers
|
} = headers
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue