运营活动
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user