fix: 🐛 移除个人中心传递用户id的问题

This commit is contained in:
ray
2024-08-20 00:35:41 +08:00
parent 5883cae2b1
commit e226b34707
2 changed files with 4 additions and 7 deletions

View File

@@ -138,9 +138,9 @@ class UserAPI {
}
/** 获取个人中心用户信息 */
static getProfile(id: number) {
static getProfile() {
return request<any, UserProfileVO>({
url: `${USER_BASE_URL}/${id}/profile`,
url: `${USER_BASE_URL}/profile`,
method: "get",
});
}