瀏覽代碼

修改到docker外运行环境

tags/v1.0.0^2
林万龙 3 年之前
父節點
當前提交
329c87807b
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/main/java/com/telpo/dipperposition/service/impl/DipperAstPosAsyncTaskServiceImpl.java

+ 1
- 1
src/main/java/com/telpo/dipperposition/service/impl/DipperAstPosAsyncTaskServiceImpl.java 查看文件

@@ -56,7 +56,7 @@ public class DipperAstPosAsyncTaskServiceImpl implements IDipperAstPosAsyncTaskS
String appCsvPath = "";
try {
//appCsvPath ="/home/data/dipperposition" +this.centerProvinceFilePath;
File f = new File(this.getClass().getResource("").getPath());
File f = new File(this.getClass().getResource("/").getPath());
appCsvPath = f.getPath()+this.centerProvinceFilePath;
log.debug(appCsvPath);
} catch (Exception e) {


Loading…
取消
儲存