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

Commit 9d581e43 authored by jiangxiulong's avatar jiangxiulong

文案

parent 4a316d3d
...@@ -791,7 +791,7 @@ public class GoblinNftOrderServiceImpl implements IGoblinNftOrderService { ...@@ -791,7 +791,7 @@ public class GoblinNftOrderServiceImpl implements IGoblinNftOrderService {
} }
LocalDateTime nowTime = LocalDateTime.now(); LocalDateTime nowTime = LocalDateTime.now();
if (nowTime.isBefore(goblinNftExCodeVo.getExStartTime()) || nowTime.isAfter(goblinNftExCodeVo.getExStopTime())) { if (nowTime.isBefore(goblinNftExCodeVo.getExStartTime()) || nowTime.isAfter(goblinNftExCodeVo.getExStopTime())) {
return ResponseDto.failure("当前时间不允许兑换时间内"); return ResponseDto.failure("不在允许兑换时间内");
} }
int buyCount = nftOrderUtils.incrExCountByUid(uid, goblinNftExCodeVo.getSkuId(), goblinNftExCodeVo.getActivityId(), 1); int buyCount = nftOrderUtils.incrExCountByUid(uid, goblinNftExCodeVo.getSkuId(), goblinNftExCodeVo.getActivityId(), 1);
if (null != goblinNftExCodeVo.getExLimit() && goblinNftExCodeVo.getExLimit() > 0) { if (null != goblinNftExCodeVo.getExLimit() && goblinNftExCodeVo.getExLimit() > 0) {
......
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