From bfbb1ea3c6bb2dd7db064fb189290a1bfcf6c9cd Mon Sep 17 00:00:00 2001
From: seatonwan9
Date: 星期四, 28 八月 2025 02:14:48 +0800
Subject: [PATCH] 提交源码

---
 src/api/userInfo.ts |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/api/userInfo.ts b/src/api/userInfo.ts
index 16345b7..6e85b61 100644
--- a/src/api/userInfo.ts
+++ b/src/api/userInfo.ts
@@ -1,4 +1,5 @@
 import createAxios from '@/utils/axios'
+let url = '/test'
 
 // 淇敼瀵嗙爜
 export function updatePassw(data: object = {}): ApiPromise {
@@ -14,7 +15,7 @@
 // 鏌ョ湅涓汉淇℃伅
 export function queryUserDetail(data: object = {}): ApiPromise {
     return createAxios({
-        url: `/admin/common/userDetail`,
+        url: `${url}/admin/common/userDetail`,
         headers: {
             'Content-Type': 'application/json;charset=UTF-8'
         },

--
Gitblit v1.8.0