修改文件

This commit is contained in:
PC-202306242200\Administrator
2024-09-12 18:35:51 +08:00
parent 8467bc3554
commit 8eda45d2e7
62 changed files with 606 additions and 233 deletions

View File

@@ -129,7 +129,9 @@ export const errorConfig: RequestConfig = {
const headers = { Authorization };
// let url = config.url;
// const url = config?.url;
let url = `https://iadminapi.zhongshuai2023.com` + config.url;
console.log(process.env.API_BASEURL);
let url = `${process.env.API_BASEURL ? process.env.API_BASEURL : ''}` + config.url;
if (config.url.includes('https://')) {
url = config.url;
}