mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-06 17:36:47 +08:00
[DAT] 数据挡板:接口调用失败挡板去除
This commit is contained in:
@@ -585,7 +585,7 @@ public class CaseKnowledgeServiceImpl implements ICaseKnowledgeService {
|
||||
log.info("上传案例文档第{}次尝试,caseId: {}", attempt, caseId);
|
||||
|
||||
try (CloseableHttpClient httpClient = HttpClients.createDefault()) {
|
||||
HttpPut httpPost = new HttpPut(uploadUrl);
|
||||
HttpPost httpPost = new HttpPost(uploadUrl);
|
||||
httpPost.setHeader("X-AI-ApiCode", caseAiProperties.getAiApiCode());
|
||||
httpPost.setHeader("access_token", accessToken);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user