涩图模块:修复每日统计没效果

This commit is contained in:
2022-04-22 00:05:39 +08:00
parent 7776fb3d01
commit 4d156ad861
2 changed files with 10 additions and 1 deletions

View File

@@ -106,6 +106,14 @@ public class RedisTools {
return get(key+"", QQBOT_USER);
}
public static String get(Object key,String defValue){
String ret=get(key);
if(StringUtils.isEmpty(ret)){
return defValue;
}
return ret;
}
public static boolean remove(String key) {
return remove(key,QQBOT_USER);
}