Commit 1fde6a2b by zhangxingmin

导入-变量excel

parent 9dfc46bf
......@@ -105,7 +105,7 @@ public class ApiEmailFileServiceImpl implements ApiEmailFileService {
try {
// 远程调用Feign,通用Excel导入接口
Result<ImportResult> result = apiExcelFeignClient.importExcel(file, 0, 1, null);
Result<ImportResult> result = apiExcelFeignClient.importExcel(file, 0, 0, null);
ImportResult importResult = result.getData();
if (Objects.isNull(result.getData()) || (!Objects.isNull(result.getData()) && !importResult.isSuccess())) {
return Result.fail("Excel导入失败: " + (importResult.getMessage() != null ? importResult.getMessage() : "未知错误"));
......
......@@ -44,7 +44,7 @@ spring:
# 配置中心
config:
# 命名空间id(此处不用public,因public初始化的空间, id为空)
namespace: b3b01715-eb85-4242-992a-5aff03d864d4
namespace: 8fbea9a4-b626-46de-a4e6-9d23f6609318
# nacos的ip地址和端口
server-addr: 139.224.145.34:8848
# 这个就表示 在我们nacos命名空间id为 dev中 有一个data-id 为 demo-service.yml 的配置文件 读取这个里面的配置
......
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