update 统一管理BiliLiveDatabase

This commit is contained in:
2024-11-28 23:18:24 +08:00
parent 3f10e19e50
commit 8afb8f8f0b
8 changed files with 79 additions and 48 deletions

View File

@@ -27,7 +27,7 @@ public class RedisTools {
//Properties properties = PropertyUtil.loadProperties("jedis.properties");
//host = properties.getProperty("redis.host");
//port = Integer.valueOf(properties.getProperty("redis.port"));
host = "172.21.35.118";
host = "192.168.31.148";
port = 6379;
}
@@ -41,7 +41,6 @@ public class RedisTools {
String ret = jedis.set(key, value);
jedis.close();
} catch (Exception e) {
// TODO: handle exception
Log.e(e);
return false;
}
@@ -71,7 +70,6 @@ public class RedisTools {
}
jedis.close();
} catch (Exception e) {
// TODO: handle exception
Log.e(e);
return false;
}