Commit f50a28af authored by zhengjiawei's avatar zhengjiawei

bug

parent c9fe9a7d
......@@ -402,7 +402,8 @@ public class EquipmentServiceImpl implements IEquipmentService {
String fileType = file.getOriginalFilename().substring(file.getOriginalFilename().lastIndexOf("."),
file.getOriginalFilename().length());
String fileName = File.separator + type + fileType;
Long startTs = System.currentTimeMillis();
String fileName = File.separator + type + "_"+startTs+ fileType;
try {
File dest = new File(filePath + File.separator + fileName);
......
......@@ -32,9 +32,9 @@ spring.redis.jedis.pool.max-idle=10
spring.redis.jedis.pool.min-idle=0
spring.redis.timeout=1000
#picture upload
windows.img.path = G:\\
windows.img.path = C:\\
linux.img.path = /
file.uploadUrl=G:\\upload\\files\\
file.uploadUrl=C:\\upload\\files\\
#picture read
file.readUrl=http://172.16.3.89:8083/file/getFile?in=
params.isPush=true
......
......@@ -104,7 +104,7 @@ outSystem.user.password=a1234560
privilege.fegin.name=AMOS-API-PRIVILEGE
#当前gateway的IP地址
now.gateway.address=http://172.16.3.32:10055/
now.gateway.address=http://172.16.10.72:10005/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment