From 83d5b2be8fdf0ac0b59cacf6b344c8815ab4d040 Mon Sep 17 00:00:00 2001
From: seatonwan9
Date: 星期二, 02 九月 2025 19:58:11 +0800
Subject: [PATCH] 提交源码

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

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

--
Gitblit v1.8.0