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

Commit bc2272f1 authored by 张国柄's avatar 张国柄

Merge branch 'dev' into test

parents 0244c396 2184a5c9
...@@ -100,10 +100,6 @@ public class KylinPerformanceVo { ...@@ -100,10 +100,6 @@ public class KylinPerformanceVo {
@ApiModelProperty(value = "场次") @ApiModelProperty(value = "场次")
private List<KylinTicketTimesVo> ticketTimeList; private List<KylinTicketTimesVo> ticketTimeList;
@ApiModelProperty(value = "巡演数据")
private List<KylinPerformanceVo> roadList;
public void setPerformance(KylinPerformances performance) { public void setPerformance(KylinPerformances performance) {
this.performancesId = performance.getPerformancesId(); this.performancesId = performance.getPerformancesId();
this.title = performance.getTitle(); this.title = performance.getTitle();
......
...@@ -249,12 +249,7 @@ public class DataUtils { ...@@ -249,12 +249,7 @@ public class DataUtils {
if (redisUtil.hasKey(KylinRedisConst.PERFORMANCES + performanceId)) { if (redisUtil.hasKey(KylinRedisConst.PERFORMANCES + performanceId)) {
} else { } else {
KylinPerformanceVo performanceData = mongoTemplate.findOne(Query.query(Criteria.where("performancesId").is(performanceId)), KylinPerformanceVo.class, KylinPerformanceVo.class.getSimpleName()); KylinPerformanceVo performanceData = mongoTemplate.findOne(Query.query(Criteria.where("performancesId").is(performanceId)), KylinPerformanceVo.class, KylinPerformanceVo.class.getSimpleName());
List<KylinPerformanceVo> roadList = new ArrayList();
if (Integer.parseInt(performanceData.getRoadShowId()) > 0) {
roadList = getRoadList(performanceData.getRoadShowId());
}
redisUtil.set(KylinRedisConst.PERFORMANCES + performanceId, performanceData); redisUtil.set(KylinRedisConst.PERFORMANCES + performanceId, performanceData);
performanceData.setRoadList(roadList); // 不一起存到演出详情
} }
return (KylinPerformanceVo) redisUtil.get(KylinRedisConst.PERFORMANCES + performanceId); return (KylinPerformanceVo) redisUtil.get(KylinRedisConst.PERFORMANCES + performanceId);
} }
......
...@@ -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));
......
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