update
This commit is contained in:
@@ -31,6 +31,7 @@ public class OSSTools {
|
||||
ossClient.putObject(bucketName, objectName, new ByteArrayInputStream(outputStream.toByteArray()));
|
||||
outputStream.close();
|
||||
inputStream.close();
|
||||
|
||||
downloadInterface.onDownload("https://yutou-oss-test.oss-cn-hangzhou.aliyuncs.com/"+objectName);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
|
||||
@@ -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="192.168.31.88";
|
||||
host="127.0.0.1";
|
||||
port=6379;
|
||||
}
|
||||
public static boolean set(int dbIndex,String key,String value){
|
||||
|
||||
Reference in New Issue
Block a user