123
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package com.ruoyi.cai.cache;
|
||||
|
||||
import com.ruoyi.cai.constant.RedisConstant;
|
||||
import com.ruoyi.cai.constant.RedisHttpConstant;
|
||||
import com.ruoyi.cai.enums.SystemConfigEnum;
|
||||
import com.ruoyi.cai.manager.SystemConfigManager;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -22,7 +22,7 @@ public class DynamicTotalCache {
|
||||
|
||||
public String getKey(Long userId){
|
||||
String now = LocalDate.now().format(DateTimeFormatter.ofPattern("yyyyMMdd"));
|
||||
return String.format(RedisConstant.DYNAMIC_TOTAL_CACHE_REDIS,now,userId);
|
||||
return String.format(RedisHttpConstant.DYNAMIC_TOTAL_CACHE_REDIS,now,userId);
|
||||
}
|
||||
|
||||
public void add(Long userId){
|
||||
|
||||
Reference in New Issue
Block a user