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

Commit b71dbdfb authored by 胡佳晨's avatar 胡佳晨

Merge branch 'pre' into 'master'

修改candy文案

See merge request !336
parents b23b7e45 ea679f44
......@@ -487,7 +487,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
LocalDateTime now = LocalDateTime.now();
if (dto == null) {
return ResponseDto.failure("兑换码有误,请重新输入");
return ResponseDto.failure("兑换码有误或已被使用,若已成功兑换,请前往「我的」-「我的券」查看");
} else if (dto.getState().equals(0)) {//判断可领
CandyCouponInfoDto infoDto = redisDataUtils.getCouponInfo(dto.getCouponId());
if (!CouponBaseUtil.CandyCanReceive(infoDto)) {
......@@ -529,7 +529,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String uid = CurrentUtil.getCurrentUid();
CandyCouponCodeDto dto = redisDataUtils.getCouponByCode(ccode);
if (dto == null) {
return ResponseDto.failure("兑换码有误,请重新输入");
return ResponseDto.failure("兑换码有误或已被使用,若已成功兑换,请前往「我的」-「我的券」查看");
} else if (dto.getState().equals(0)) {//判断可领
CandyCouponInfoDto infoDto = redisDataUtils.getCouponInfo(dto.getCouponId());
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