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

Commit 16c9d675 authored by jiangxiulong's avatar jiangxiulong

nft 下单盲盒 不判断里面sku的开售时间

parent 6c5f702d
......@@ -429,11 +429,11 @@ public class GoblinNftOrderUtils {
) {// 可以返回库存
// 外面只有盲盒才能请求进来 里面只有不是分批购才判断盲盒里藏品的开售时间
if (null == listId) {
if (LocalDateTime.now().isAfter(info.getSaleStartTime())) {
// if (LocalDateTime.now().isAfter(info.getSaleStartTime())) {
return goblinRedisUtils.getSkuStock(listId, info.getSkuId());
} else {
return 0;
}
// } else {
// return 0;
// }
} else {
return goblinRedisUtils.getSkuStock(listId, info.getSkuId());
}
......
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