会员脱敏处理,之前有人恶意联系注册用户。
管理平台用户返回VO格式化一下
This commit is contained in:
@@ -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 = "添加会员")
|
||||
|
||||
@@ -182,6 +182,11 @@ jasypt:
|
||||
lili:
|
||||
system:
|
||||
isDemoSite: true
|
||||
# 脱敏级别:
|
||||
# 0:不做脱敏处理
|
||||
# 1:管理端用户手机号等信息脱敏
|
||||
# 2:商家端信息脱敏(为2时,表示管理端,商家端同时脱敏)
|
||||
sensitiveLevel: 1
|
||||
statistics:
|
||||
# 在线人数统计 X 小时。这里设置48,即统计过去48小时每小时在线人数
|
||||
onlineMember: 48
|
||||
|
||||
Reference in New Issue
Block a user