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

Commit 5e65ff6b authored by 胡佳晨's avatar 胡佳晨

Merge branch 'master' into hjc-票务平台

parents a74caf5c b71dbdfb
...@@ -157,7 +157,7 @@ liquidnet: ...@@ -157,7 +157,7 @@ liquidnet:
executor-main: executor-main:
xxl: xxl:
admin: admin:
addresses: 172.17.121.250:8090 addresses: 172.17.192.8:8090
client: client:
admin: admin:
# phpPayUrl: http://testorder.zhengzai.tv # phpPayUrl: http://testorder.zhengzai.tv
......
...@@ -487,7 +487,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService { ...@@ -487,7 +487,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
LocalDateTime now = LocalDateTime.now(); LocalDateTime now = LocalDateTime.now();
if (dto == null) { if (dto == null) {
return ResponseDto.failure("兑换码有误,请重新输入"); return ResponseDto.failure("兑换码有误或已被使用,若已成功兑换,请前往「我的」-「我的券」查看");
} else if (dto.getState().equals(0)) {//判断可领 } else if (dto.getState().equals(0)) {//判断可领
CandyCouponInfoDto infoDto = redisDataUtils.getCouponInfo(dto.getCouponId()); CandyCouponInfoDto infoDto = redisDataUtils.getCouponInfo(dto.getCouponId());
if (!CouponBaseUtil.CandyCanReceive(infoDto)) { if (!CouponBaseUtil.CandyCanReceive(infoDto)) {
...@@ -529,7 +529,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService { ...@@ -529,7 +529,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String uid = CurrentUtil.getCurrentUid(); String uid = CurrentUtil.getCurrentUid();
CandyCouponCodeDto dto = redisDataUtils.getCouponByCode(ccode); CandyCouponCodeDto dto = redisDataUtils.getCouponByCode(ccode);
if (dto == null) { if (dto == null) {
return ResponseDto.failure("兑换码有误,请重新输入"); return ResponseDto.failure("兑换码有误或已被使用,若已成功兑换,请前往「我的」-「我的券」查看");
} else if (dto.getState().equals(0)) {//判断可领 } else if (dto.getState().equals(0)) {//判断可领
CandyCouponInfoDto infoDto = redisDataUtils.getCouponInfo(dto.getCouponId()); CandyCouponInfoDto infoDto = redisDataUtils.getCouponInfo(dto.getCouponId());
if (!CouponBaseUtil.CandyCanReceive(infoDto)) { if (!CouponBaseUtil.CandyCanReceive(infoDto)) {
......
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