微信登录引导头像昵称

This commit is contained in:
Jason
2023-03-29 15:52:38 +08:00
parent e6a92a479b
commit 4617c65581
6 changed files with 338 additions and 22 deletions

View File

@@ -26,3 +26,18 @@ export function userMnpMobile(data: any) {
export function userChangePwd(data: any) {
return request.post({ url: '/user/changePwd', data }, { isAuth: true })
}
// 绑定小程序
export function mnpAuthBind(data: any) {
return request.post({ url: '/user/bindMnp', data })
}
// 绑定公众号
export function oaAuthBind(data: any) {
return request.post({ url: '/user/bindOa', data })
}
//更新微信小程序头像昵称
export function updateUser(data: Record<string, any>, header: any) {
return request.post({ url: '/user/updateUser', data, header })
}