fix: 修复数据获取及展示问题,优化字段命名与UI显示

This commit is contained in:
Ray.Hao
2026-04-05 16:20:36 +08:00
parent 9654913a21
commit 00d06de84f
9 changed files with 49 additions and 52 deletions

View File

@@ -36,13 +36,10 @@ const AuthAPI = {
/** 刷新 token 接口*/
refreshToken(refreshToken: string) {
const params = new URLSearchParams();
params.append("refresh_token", refreshToken);
return request<any, LoginResponse>({
url: `${AUTH_BASE_URL}/refresh-token`,
method: "post",
data: params,
params: { refreshToken },
headers: {
Authorization: "no-auth",
},