|
@@ -75,6 +75,23 @@ public class FastApiServiceImpl implements FastApiService {
|
|
|
jsonBody.put("tag_category_id", request.getTagCategoryId());
|
|
jsonBody.put("tag_category_id", request.getTagCategoryId());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ // 添加新增的可选参数(转换为下划线格式)
|
|
|
|
|
+ if (request.getUserId() != null) {
|
|
|
|
|
+ jsonBody.put("user_id", request.getUserId());
|
|
|
|
|
+ }
|
|
|
|
|
+ if (request.getUserNm() != null) {
|
|
|
|
|
+ jsonBody.put("user_nm", request.getUserNm());
|
|
|
|
|
+ }
|
|
|
|
|
+ if (request.getContractNo() != null) {
|
|
|
|
|
+ jsonBody.put("contract_no", request.getContractNo());
|
|
|
|
|
+ }
|
|
|
|
|
+ if (request.getUserOrg() != null) {
|
|
|
|
|
+ jsonBody.put("user_org", request.getUserOrg());
|
|
|
|
|
+ }
|
|
|
|
|
+ if (request.getUserEndpoint() != null) {
|
|
|
|
|
+ jsonBody.put("user_endpoint", request.getUserEndpoint());
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
String requestBody = jsonBody.toJSONString();
|
|
String requestBody = jsonBody.toJSONString();
|
|
|
log.info("请求体:{}", requestBody);
|
|
log.info("请求体:{}", requestBody);
|
|
|
|
|
|
|
@@ -104,6 +121,7 @@ public class FastApiServiceImpl implements FastApiService {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+
|
|
|
@Override
|
|
@Override
|
|
|
public AiTaggingQueryResponseVo query(AiTaggingQueryRequestDto request) {
|
|
public AiTaggingQueryResponseVo query(AiTaggingQueryRequestDto request) {
|
|
|
String url = fastApiConfig.getUrl() + QUERY_PATH + "?business_attr=" + encodeParam(request.getBusinessAttr());
|
|
String url = fastApiConfig.getUrl() + QUERY_PATH + "?business_attr=" + encodeParam(request.getBusinessAttr());
|