Commit 24d4490f by 邓实川 Committed by chenzg

服务器excel保存路径修改

parent a150e127
......@@ -1062,7 +1062,7 @@ public class CrmController {
// 从文件中读取Excel为ExcelReader
ExcelReader reader;
// 从流中读取Excel为ExcelReader(比如从ClassPath中读取Excel文件)
reader = ExcelUtil.getReader(ResourceUtil.getStream("/data/"+filePath));
reader = ExcelUtil.getReader(ResourceUtil.getStream(filePath));
reader.addHeaderAlias("*客户名称(必填)", "clientName");
reader.addHeaderAlias("*所属分组(必填)", "belongGroupName");
reader.addHeaderAlias("行业", "industryName");
......
......@@ -175,4 +175,4 @@ config-8timer:
# 客户管理导入服务器保存路径
crm-excel:
realPath: 'crm-excel/'
\ No newline at end of file
realPath: '/data/crm-excel/'
\ No newline at end of file
......@@ -174,4 +174,4 @@ config-8timer:
# 客户管理导入服务器保存路径
crm-excel:
realPath: './crm-excel/'
\ No newline at end of file
realPath: '/data/crm-excel/'
\ No newline at end of file
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