提交 9c4db64f 作者: 刘明祎-运维用途

测试配置

上级 155ff314
...@@ -498,7 +498,7 @@ public class UploadController { ...@@ -498,7 +498,7 @@ public class UploadController {
log.info("图片名称:" + newName); log.info("图片名称:" + newName);
map.put( map.put(
"filePath", "filePath",
"https://" + OssConstant.BUCKET + '.' + OssConstant.ENDPOINT + "/" + newName); "https://" + "file.iuav.com" + "/" + newName);
map.put("fileName", oldName); map.put("fileName", oldName);
map.put("fileSize", file.getSize()); map.put("fileSize", file.getSize());
map.put("fileType", oldName.substring(oldName.lastIndexOf(".")).replace(".", "")); map.put("fileType", oldName.substring(oldName.lastIndexOf(".")).replace(".", ""));
......
...@@ -7,7 +7,7 @@ spring: ...@@ -7,7 +7,7 @@ spring:
password: ${MYSQL_PASSWORD} password: ${MYSQL_PASSWORD}
redis: redis:
database: 1 database: 1
host: redis.default host: 172.24.1.207
port: 6379 port: 6379
password: ${REDIS_PASSWORD} password: ${REDIS_PASSWORD}
jedis: jedis:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论