用户头像由上传模式改为 媒体库选择模式

This commit is contained in:
QM303176530
2020-08-31 23:33:28 +08:00
parent 0403ec3ffe
commit d7813c3507
13 changed files with 857 additions and 197 deletions

View File

@@ -94,4 +94,20 @@ export const deleteUser = (data) => {
method: 'delete',
data: data
})
}
}
// @Tags SysUser
// @Summary 设置用户信息
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.SysUser true "设置用户信息"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"修改成功"}"
// @Router /user/setUserInfo [put]
export const setUserInfo = (data) => {
return service({
url: "/user/setUserInfo",
method: 'put',
data: data
})
}