feat:缓存时间

This commit is contained in:
dzc committed 2026-05-12 16:26:15 +08:00
1 parent 2b131bdc0c
commit 2f847923ef
1 file changed
+1 -1
@@ -61,7 +61,7 @@ public class WalletSettingController {
@GetMapping("/ad/get-discounts-list")
@Cacheable(
value = CacheConstants.WALLET_USER_DISCOUNTS_LIST + "#3600",
value = CacheConstants.WALLET_USER_DISCOUNTS_LIST,
key = "#userId + ':' + #hardId",
condition = "#userId != null && #hardId != null",
unless = "#result == null || #result.data == null"