This commit is contained in:
menxipeng
2025-08-03 22:15:27 +08:00
parent bf467fbc58
commit 704e2047a3
7 changed files with 145 additions and 2 deletions

View File

@@ -35,4 +35,20 @@ export function delUser(id) {
url: '/back/user/' + id,
method: 'delete'
})
}
}
// 获取用户标签
export function getUserTags(userId) {
return request({
url: '/back/user/tags/' + userId,
method: 'get'
})
}
// 获取当前登录用户的标签
export function getMyTags() {
return request({
url: '/back/user/myTags',
method: 'get'
})
}