优化:社交登录、用户的管理

This commit is contained in:
YunaiV
2023-11-04 14:37:23 +08:00
parent ac7f1e29fb
commit a9b91e7436
8 changed files with 98 additions and 226 deletions

View File

@ -22,13 +22,3 @@ export const getSocialUserPage = async (params) => {
export const getSocialUser = async (id: number) => {
return await request.get({ url: `/system/social-user/get?id=` + id })
}
// 修改社交用户
export const updateSocialUser = async (data: SocialUserVO) => {
return await request.put({ url: `/system/social-user/update`, data })
}
// 删除社交用户
export const deleteSocialUser = async (id: number) => {
return await request.delete({ url: `/system/social-user/delete?id=` + id })
}