涩图模块:修复每日统计没效果
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user