add 视频页面

update 用户管理
This commit is contained in:
2024-11-18 18:27:49 +08:00
parent 6e2cea8186
commit b15d1c917f
25 changed files with 780 additions and 135 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 = "127.0.0.1";
host = "172.21.35.118";
port = 6379;
}
@@ -52,6 +52,12 @@ public class RedisTools {
return set(0, key.toString(), value);
}
/**
*
* @param key key
* @param value value
* @param timeout 过期时间,单位秒
*/
public static boolean set(String key, String value, int timeout) {
try {
if (isNotInstallRedis) {