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

Commit c26e6c10 authored by jiangxiulong's avatar jiangxiulong

whiteType

parent deefdd85
......@@ -93,10 +93,11 @@ public class GoblinNftOrderAppServiceImpl implements IGoblinNftOrderAppService {
GoblinGoodsSkuInfoVo goodsSkuInfoVo = (GoblinGoodsSkuInfoVo) map.get("vo");
Object tagType = map.get("tagType");
String listId = (String) map.get("listId");
Integer whiteType = (Integer) map.get("whiteType");
// 分批、提前购黑、白名单
if (null != tagType) {
Boolean listCanBuy = goblinRedisUtils.getListCanBuy(listId, skuId, mobile, uid, 1);
Boolean listCanBuy = goblinRedisUtils.getListCanBuy(listId, skuId, mobile, uid, whiteType);
if (!listCanBuy) {
return null;
}
......
......@@ -85,10 +85,11 @@ public class GoblinNftOrderServiceImpl implements IGoblinNftOrderService {
GoblinGoodsSkuInfoVo skuVo = (GoblinGoodsSkuInfoVo) map.get("vo");
Object tagType = map.get("tagType");
String listId = (String) map.get("listId");
Integer whiteType = (Integer) map.get("whiteType");
// 分批、提前购黑、白名单
if (null != tagType) {
Boolean listCanBuy = goblinRedisUtils.getListCanBuy(listId, skuId, mobile, uid, 1);
Boolean listCanBuy = goblinRedisUtils.getListCanBuy(listId, skuId, mobile, uid, whiteType);
if (!listCanBuy) {
return ResponseDto.failure("该藏品仅对部分用户开放~");
}
......
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