运营活动

This commit is contained in:
liuye
2023-01-29 13:55:41 +08:00
parent 7c2a1c32e5
commit 675656ff3e
6 changed files with 114 additions and 103 deletions

View File

@@ -17,7 +17,7 @@ instance.interceptors.request.use(config => {
config.url = config.url.replace(/(app|auth|admin)\//, "api/")
} else if (!/^App/.test(module) && module) {
config.baseURL = `/${module}`
if (['xaxc', 'qxn'].includes(module)) {
if (['xaxc', 'qxn', 'yyhd'].includes(module)) {
config.url = config.url.replace(/(app|auth|admin)\//, "api/")
}
} else config.baseURL = "/lan"