From e1f9a259750f387fbaa4b60295f42eaf9b74cfd8 Mon Sep 17 00:00:00 2001 From: Bang Hu <hu_bang@hotmail.com> Date: 星期五, 29 八月 2025 13:56:37 +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