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

Commit 9a5c6c5f authored by wanglele's avatar wanglele

兑换码sku--->时间

parent 98ec262f
...@@ -237,7 +237,7 @@ public class GoblinNftExSkuServiceImpl implements IGoblinNftExSkuService { ...@@ -237,7 +237,7 @@ public class GoblinNftExSkuServiceImpl implements IGoblinNftExSkuService {
goblinNftExSkuVo.setExStartTime(exStartTime); goblinNftExSkuVo.setExStartTime(exStartTime);
goblinNftExSkuVo.setExStopTime(exStopTime); goblinNftExSkuVo.setExStopTime(exStopTime);
// goblinNftExSkus.addSkuTime(key); goblinRedisUtils.addSkuTime(key,goblinNftExSkuVo);
} }
log.debug("RDM耗时:ms", System.currentTimeMillis() - startr); log.debug("RDM耗时:ms", System.currentTimeMillis() - startr);
......
...@@ -240,6 +240,12 @@ public class GoblinRedisUtils { ...@@ -240,6 +240,12 @@ public class GoblinRedisUtils {
return getRedis().get(key); return getRedis().get(key);
} }
// key时间赋值
public boolean addSkuTime(String skuId,Object obj) {
String key = GoblinRedisConst.ACTIVITY_SKU_TIME.concat(skuId);
return getRedis().set(key,obj);
}
/* ---------------------------------------- ---------------------------------------- */ /* ---------------------------------------- ---------------------------------------- */
/* ---------------------------------------- ---------------------------------------- */ /* ---------------------------------------- ---------------------------------------- */
/* ---------------------------------------- ---------------------------------------- */ /* ---------------------------------------- ---------------------------------------- */
......
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