Переглянути джерело

【CHG】修改导出文件名

ZhaoMn 3 роки тому
батько
коміт
0d3f9c3c54

+ 1 - 1
railway-business/src/main/java/com/railway/business/safetool/service/impl/BaseSafetyToolServiceImpl.java

@@ -219,7 +219,7 @@ public class BaseSafetyToolServiceImpl implements IBaseSafetyToolService {
       return AjaxResult.uploadFile(tool.getQcodeUrl(), fileName);
     }
     // 如果多条,打包压缩后发
-    String tmpPath = localFilePath + "/qcode-" + DateUtils.dateTimeNow() + "/";
+    String tmpPath = localFilePath + "/安全工具二维码图片_" + DateUtils.dateTimeNow() + "/";
     File tmpFile = new File(tmpPath);
     if(!tmpFile.exists() && !tmpFile.mkdirs()){
       return AjaxResult.error("临时目录创建失败");