个人认证

This commit is contained in:
shijingjing
2023-03-17 15:42:41 +08:00
parent d53e5f3b4b
commit 782f632892
3 changed files with 175 additions and 79 deletions

View File

@@ -100,14 +100,16 @@ export default {
updateInfo() {
this.$instance.post(`/app/appwechatuser/update-nickName`, null, {
params: {
id: this.user.id,
// id: this.user.id,
nickName: this.userName ? this.userName : this.user.nickName,
avatarUrl: this.avatar ? this.avatar : this.user.avatarUrl,
phone: this.userPhone ? this.userPhone : this.user.phone,
areaId: this.userAreaId? this.userAreaId : this.user.areaId,
areaName: this.userAreaName ? this.userAreaName : this.user.areaName,
}
}).then(res => {
if (res?.code == 0) {
this.$u.toast('修改成功')
this.$u.toast('提交成功')
}
})
},