会员: 修改会员等级,使用单独的表单、接口

This commit is contained in:
owen
2023-08-22 11:23:08 +08:00
parent c5a703f488
commit 51738f8f6e
4 changed files with 121 additions and 26 deletions

View File

@ -32,3 +32,8 @@ export const getUser = async (id: number) => {
export const updateUser = async (data: UserVO) => {
return await request.put({ url: `/member/user/update`, data })
}
// 修改会员用户等级
export const updateUserLevel = async (data: any) => {
return await request.put({ url: `/member/user/update-level`, data })
}