隐藏10000端口

master
cheney 2 years ago
parent c8ded0f143
commit 21849bec54
  1. 2
      src/main/java/com/huoran/iasf/service/impl/SysFilesServiceImpl.java
  2. 2
      src/main/resources/application-dev.yml

@ -99,6 +99,8 @@ public class SysFilesServiceImpl extends ServiceImpl<SysFilesMapper, SysFilesEnt
sysFilesEntity.setUploader(fileParameters.getUploader()); sysFilesEntity.setUploader(fileParameters.getUploader());
sysFilesEntity.setQuote(fileParameters.getQuote()); sysFilesEntity.setQuote(fileParameters.getQuote());
sysFilesEntity.setSite(fileParameters.getSite()); sysFilesEntity.setSite(fileParameters.getSite());
sysFilesEntity.setQuoteType(fileParameters.getQuoteType());
sysFilesEntity.setQuoteId(fileParameters.getQuoteId());
sysFilesEntity.setType(fileCheck(suffixName)); sysFilesEntity.setType(fileCheck(suffixName));
this.save(sysFilesEntity); this.save(sysFilesEntity);
// String hostAddress = InetAddress.getLocalHost().getHostAddress(); // String hostAddress = InetAddress.getLocalHost().getHostAddress();

@ -35,4 +35,4 @@ file:
path: C:/files/ #windows path: C:/files/ #windows
#path: /data/files/ #linux #path: /data/files/ #linux
#文件预览url #文件预览url
url: :10000/iasf/sysFiles/preview/ url: /iasf/sysFiles/preview/

Loading…
Cancel
Save