测试部署

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

View File

@ -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