333351444

This commit is contained in:
2025-08-11 12:00:18 +08:00
parent 29775c19e1
commit 5e2903488c
7 changed files with 89 additions and 363 deletions
+1 -2
View File
@@ -15,14 +15,13 @@ import { decryptData, encryptData } from './encrypt';
import { DATA_TYPE_ENUM } from '../constants/common-const';
import _ from 'lodash';
import LocalStorageKeyConst from '/@/constants/local-storage-key-const.js';
import { getCurrentApiUrl } from '/@/utils/env-util';
// token的消息头
const TOKEN_HEADER = 'Authorization';
// 创建axios对象
const smartAxios = axios.create({
baseURL: getCurrentApiUrl(),
baseURL: import.meta.env.VITE_APP_API_URL,
});
// 退出系统