diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/BatteryChargeReportService.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/BatteryChargeReportService.java index c8a603191..97b55b49c 100644 --- a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/BatteryChargeReportService.java +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/BatteryChargeReportService.java @@ -139,7 +139,7 @@ public class BatteryChargeReportService { apiUrl = webDomainPrefix + apiPrefix + "pdf/" + taskId; } // 发送请求 - String result = HttpRequest.get(apiUrl).execute().body(); + String result = HttpRequest.get(apiUrl).header("token", token).execute().body(); log.info("发送获取报告result:{}", result); // 将返回结果转化为json