From 7c6a8ef28b163e3e8f004d744df3fff342fef0fd Mon Sep 17 00:00:00 2001 From: zhengfangyuan Date: Tue, 13 Dec 2022 15:37:56 +0800 Subject: [PATCH] fix bug --- .../main/java/com/iformall/service/util/CouponCacheUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mallinkService/src/main/java/com/iformall/service/util/CouponCacheUtils.java b/mallinkService/src/main/java/com/iformall/service/util/CouponCacheUtils.java index 010d4e76c..8a93da213 100644 --- a/mallinkService/src/main/java/com/iformall/service/util/CouponCacheUtils.java +++ b/mallinkService/src/main/java/com/iformall/service/util/CouponCacheUtils.java @@ -59,7 +59,7 @@ public class CouponCacheUtils { public static Map> getCouponMerchantCache(RedisTemplate template,Long couponId) { String key = "couponMerchantNew:"+couponId; - return (Map>) RedisCacheUtils.getCacheListObject(template, key,Map.class); + return (Map>) RedisCacheUtils.getCacheMap(template, key); } public static void removeDouyinLivePageCache(RedisTemplate template,String tenantId,Integer targetAd,Integer bussiness) {