From b3fedd4221b807a07058be9d5d5d8ba8998adbcb Mon Sep 17 00:00:00 2001 From: Bang Hu <hu_bang@hotmail.com> Date: 星期四, 11 九月 2025 21:35:31 +0800 Subject: [PATCH] Bug修改代码提交 --- 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..9079292 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: '/api1', + url: `/admin/common/userDetail`, headers: { 'Content-Type': 'application/json;charset=UTF-8' }, -- Gitblit v1.8.0