This commit is contained in:
Lemon
2026-03-09 15:35:01 +08:00
parent a11b328498
commit c012a9fd25

View File

@@ -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