From aae6cb63fac8f2956615481382c101cfd2e7d45c Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期日, 28 五月 2023 22:15:52 +0800
Subject: [PATCH] gxapi
---
src/utils/axios.ts | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/utils/axios.ts b/src/utils/axios.ts
index fd34165..dfaec74 100644
--- a/src/utils/axios.ts
+++ b/src/utils/axios.ts
@@ -8,7 +8,8 @@
let controllers: AbortController[] = []
-const BASE_URL = 'https://hemobs.icoldchain.cn'
+// const BASE_URL = 'https://hemobs.icoldchain.cn'
+const BASE_URL='http://testbs.ihemodialysis.com'
const TIME_OUT = 10 * 1000
interface IResponseError {
@@ -57,7 +58,6 @@
// 前置拦截器(发起请求之前的拦截)
instance.interceptors.request.use((config: AxiosRequestConfig) => {
- console.log('sss',config)
config.headers && (config.headers['Authorization'] = getToken())
const controller = new AbortController()
config.signal = controller.signal
--
Gitblit v1.8.0