用户修改昵称

This commit is contained in:
sfmind
2022-04-21 01:47:01 +08:00
parent e9c0c452c8
commit 79ab6f308d
2 changed files with 59 additions and 19 deletions

View File

@ -1,3 +1,4 @@
//请求工具参考https://ext.dcloud.net.cn/plugin?id=392
const { http } = uni.$u
/* login */
@ -19,6 +20,11 @@ export const updateAvatar = filePath =>
fileType: 'image',
filePath: filePath
})
//修改用户昵称
export const updateNickname = params =>
http.put('/app-api/member/user/update-nickname', {}, {
params
})
/* index */
// 获取滚动图数据