|
|
|
@@ -57,4 +57,19 @@ public class CouponCacheUtils { |
|
|
|
return RedisCacheUtils.getCacheListObject(template, key,WxMerchantVo.class); |
|
|
|
} |
|
|
|
|
|
|
|
// public static void removeDouyinLivePageCache(RedisTemplate<String, Object> template,String tenantId,Integer targetAd,Integer bussiness) { |
|
|
|
// String key = "couponMerchant:"+couponId; |
|
|
|
// RedisCacheUtils.removeCache(template, key); |
|
|
|
// } |
|
|
|
// |
|
|
|
// public static void setDouyinLivePageCache(RedisTemplate<String, Object> template,Long couponId,List<WxMerchantVo> merchantList) { |
|
|
|
// String key = "couponMerchant:"+couponId; |
|
|
|
// RedisCacheUtils.cache(template, key, merchantList, 24*3600); |
|
|
|
// } |
|
|
|
// |
|
|
|
// public static List<WxMerchantVo> getDouyinLivePageCache(RedisTemplate<String, Object> template,Long couponId) { |
|
|
|
// String key = "couponMerchant:"+couponId; |
|
|
|
// return RedisCacheUtils.getCacheListObject(template, key,WxMerchantVo.class); |
|
|
|
// } |
|
|
|
|
|
|
|
} |