新增OSS上传

新增处理apk打包穿山甲功能(工作需要)
This commit is contained in:
2020-06-03 00:01:11 +08:00
parent ec0e94feec
commit 6a0acdc779
7 changed files with 235 additions and 7 deletions

View File

@@ -10,7 +10,7 @@ import redis.clients.jedis.Jedis;
public class RedisTools {
private static String host;
private static int port;
private static int TOKEN_TIMEOUT_DEFAULT=360;
public static int TOKEN_TIMEOUT_DEFAULT=360;
private RedisTools() {
@@ -21,7 +21,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="192.168.31.88";
port=6379;
}
public static boolean set(int dbIndex,String key,String value){