feat:缓存时间
This commit is contained in:
1 parent
2b131bdc0c
commit
2f847923ef
1 file changed
+1
-1
+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"
|
||||
|
||||
Reference in new issue
Block a user