会员脱敏处理,之前有人恶意联系注册用户。

管理平台用户返回VO格式化一下
This commit is contained in:
Chopper
2022-02-15 11:24:52 +08:00
parent ea5da365c7
commit fda3b5b1cc
6 changed files with 29 additions and 3 deletions

View File

@@ -45,9 +45,9 @@ public class MemberManagerController {
@ApiOperation(value = "通过ID获取会员信息")
@ApiImplicitParam(name = "id", value = "会员ID", required = true, dataType = "String", paramType = "path")
@GetMapping(value = "/{id}")
public ResultMessage<Member> get(@PathVariable String id) {
public ResultMessage<MemberVO> get(@PathVariable String id) {
return ResultUtil.data(memberService.getById(id));
return ResultUtil.data(memberService.getMember(id));
}
@ApiOperation(value = "添加会员")