测试部署

This commit is contained in:
hongchao 2025-04-27 09:58:11 +08:00
parent 351d1dac82
commit 89abc2768a
2 changed files with 13 additions and 6 deletions

View File

@ -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({
url: '/auth/getConfig',
method: 'get'
})
}
}

View File

@ -29,9 +29,9 @@ service.interceptors.request.use((config) => {
// 提取 headers 和方法
const headers = config.headers || {}
const {
encryptRequest = false,
checkIntegrity = false,
encryptResponse = false,
encryptRequest = true,
checkIntegrity = true,
encryptResponse = true,
repeatSubmit = false
} = headers