记得上下班打卡 | git大法好,push需谨慎

Commit 2184a5c9 authored by 张国柄's avatar 张国柄

fix:API个人信息手机号脱敏;

+API兑换码校验;
parent a63cd2ba
......@@ -153,12 +153,13 @@ public class AdamMemberOrderController {
return "success";
}
// @ApiOperationSupport(order = 3)
// @ApiOperation(value = "会员码详情")
// @GetMapping("check/code")
// public ResponseDto<AdamMemberCodeVo> getMemberOrderList(@NotBlank @PathVariable String orderNo) {
// return ResponseDto.success(adamRdmService.getShotMemberOrderVoByOrderNo(orderNo));
// }
@ApiOperationSupport(order = 3)
@ApiOperation(value = "兑换码校验")
@GetMapping("check/code")
public ResponseDto<Integer> checkMemberCode(@NotBlank @RequestParam String mCode) {
AdamMemberCodeVo vo = adamRdmService.getMemberCodeVoByCode(mCode);
return ResponseDto.success(null == vo ? -1 : vo.getState());
}
@ApiOperationSupport(order = 4)
@ApiOperation(value = "使用兑换码")
......
......@@ -287,7 +287,9 @@ public class AdamUserController {
String currentUid = CurrentUtil.getCurrentUid();
Map<String, Object> map = new HashMap<>();
map.put("userInfo", adamRdmService.getUserInfoVoByUid(currentUid));
AdamUserInfoVo userInfoVo = adamRdmService.getUserInfoVoByUid(currentUid);
userInfoVo.setMobile(SensitizeUtil.custom(userInfoVo.getMobile(), 3, 4));
map.put("userInfo", userInfoVo);
map.put("realNameInfo", adamRdmService.getRealInfoVoByUid(currentUid));
map.put("thirdPartInfo", adamRdmService.getThirdPartVoListByUid(currentUid));
map.put("userMemberVo", adamRdmService.getUserMemberVoByUid(currentUid));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment