update 统一管理BiliLiveDatabase
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user