|
|
|
@ -38,7 +38,9 @@ public class AppMemberUserController {
|
|
|
|
|
public CommonResult<AppMemberUserInfoRespVO> getUserInfo() {
|
|
|
|
|
MemberUserDO user = userService.getUser(getLoginUserId());
|
|
|
|
|
MemberLevelDO level = levelService.getLevel(user.getLevelId());
|
|
|
|
|
return success(MemberUserConvert.INSTANCE.convert(user, level));
|
|
|
|
|
AppMemberUserInfoRespVO convert = MemberUserConvert.INSTANCE.convert(user, level);
|
|
|
|
|
convert.setId(getLoginUserId()+"");
|
|
|
|
|
return success(convert);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@PutMapping("/update")
|
|
|
|
|