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

Commit b8245817 authored by jiangxiulong's avatar jiangxiulong

Merge remote-tracking branch 'origin/dev' into dev

parents 0a23477f 3ec487cd
...@@ -153,12 +153,13 @@ public class AdamMemberOrderController { ...@@ -153,12 +153,13 @@ public class AdamMemberOrderController {
return "success"; return "success";
} }
// @ApiOperationSupport(order = 3) @ApiOperationSupport(order = 3)
// @ApiOperation(value = "会员码详情") @ApiOperation(value = "兑换码校验")
// @GetMapping("check/code") @GetMapping("check/code")
// public ResponseDto<AdamMemberCodeVo> getMemberOrderList(@NotBlank @PathVariable String orderNo) { public ResponseDto<Integer> checkMemberCode(@NotBlank @RequestParam String mCode) {
// return ResponseDto.success(adamRdmService.getShotMemberOrderVoByOrderNo(orderNo)); AdamMemberCodeVo vo = adamRdmService.getMemberCodeVoByCode(mCode);
// } return ResponseDto.success(null == vo ? -1 : vo.getState());
}
@ApiOperationSupport(order = 4) @ApiOperationSupport(order = 4)
@ApiOperation(value = "使用兑换码") @ApiOperation(value = "使用兑换码")
......
...@@ -287,7 +287,9 @@ public class AdamUserController { ...@@ -287,7 +287,9 @@ public class AdamUserController {
String currentUid = CurrentUtil.getCurrentUid(); String currentUid = CurrentUtil.getCurrentUid();
Map<String, Object> map = new HashMap<>(); 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("realNameInfo", adamRdmService.getRealInfoVoByUid(currentUid));
map.put("thirdPartInfo", adamRdmService.getThirdPartVoListByUid(currentUid)); map.put("thirdPartInfo", adamRdmService.getThirdPartVoListByUid(currentUid));
map.put("userMemberVo", adamRdmService.getUserMemberVoByUid(currentUid)); map.put("userMemberVo", adamRdmService.getUserMemberVoByUid(currentUid));
......
...@@ -240,7 +240,7 @@ public class KylinOrderTicketsServiceImpl extends ServiceImpl<KylinOrderTicketsM ...@@ -240,7 +240,7 @@ public class KylinOrderTicketsServiceImpl extends ServiceImpl<KylinOrderTicketsM
surplusGeneral = dataUtils.changeSurplusGeneral(payOrderParam.getTicketId(), -payOrderParam.getNumber()); surplusGeneral = dataUtils.changeSurplusGeneral(payOrderParam.getTicketId(), -payOrderParam.getNumber());
currentTime = System.currentTimeMillis() - currentTime; currentTime = System.currentTimeMillis() - currentTime;
log.debug("redis 获取库存 -> time:" + (currentTime) + "毫秒"); log.debug("redis 获取库存 -> time:" + (currentTime) + "毫秒");
redisLockUtil.unlock("locak:"+ticketData.getTicketsId()); // redisLockUtil.unlock("locak:"+ticketData.getTicketsId());
// }else{ // }else{
// redisLockUtil.unlock("locak:"+ticketData.getTicketsId()); // redisLockUtil.unlock("locak:"+ticketData.getTicketsId());
// return ResponseDto.failure("下单超时");//乱七八糟异常 // return ResponseDto.failure("下单超时");//乱七八糟异常
......
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