feat: 新增个人页面跳转功能

This commit is contained in:
陈淳
2024-01-17 16:31:01 +08:00
parent 0d5c196f39
commit 98a4a2158a
17 changed files with 139 additions and 43 deletions

View File

@@ -9,6 +9,7 @@ export function listUser(query) {
});
}
// 查询用户详细
export function getUser(userId) {
return request({
@@ -73,6 +74,15 @@ export function getUserProfile() {
});
}
// 查询bbs个人信息
export function getBbsUserProfile(userName) {
return request({
url: `/bbs-user/${userName}`,
method: "get",
});
}
// 修改用户个人信息
export function updateUserProfile(data) {
return request({