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

Commit 048f251a authored by wanglele's avatar wanglele

兑换码sku--->时间

parent 9a5c6c5f
......@@ -295,7 +295,7 @@ public class GoblinRedisConst {
/**
* 兑换码sku时间
*/
public static final String ACTIVITY_SKU_TIME = PREFIX.concat("activity:sku:time");
public static final String ACTIVITY_SKU_TIME = PREFIX.concat("activity:sku:time:");
/**
* 是否购买过技术数字藏品
......
......@@ -240,7 +240,12 @@ public class GoblinRedisUtils {
return getRedis().get(key);
}
// key时间赋值
/**
* sku时间赋值
* @param skuId
* @param obj
* @return
*/
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