|
@@ -224,7 +224,7 @@ public class AitagTagInfoController {
|
|
|
Map body = JSONObject.parseObject(JSONObject.toJSONString(regexVo), Map.class);
|
|
Map body = JSONObject.parseObject(JSONObject.toJSONString(regexVo), Map.class);
|
|
|
AiTaggingResponseVo taggingResponse = aitagTagInfoService.callAiTag(body, "/api/aitag/admin/v1/generate_reg");
|
|
AiTaggingResponseVo taggingResponse = aitagTagInfoService.callAiTag(body, "/api/aitag/admin/v1/generate_reg");
|
|
|
if(cn.com.yusys.yusp.commons.util.StringUtils.equals(taggingResponse.getCode(),"200")){
|
|
if(cn.com.yusys.yusp.commons.util.StringUtils.equals(taggingResponse.getCode(),"200")){
|
|
|
- return ResultDto.success(taggingResponse.getBody());
|
|
|
|
|
|
|
+ return ResultDto.success(taggingResponse.getData());
|
|
|
}
|
|
}
|
|
|
log.error("生成正则表达式异常:返回参数为:{}", JSON.toJSONString(taggingResponse));
|
|
log.error("生成正则表达式异常:返回参数为:{}", JSON.toJSONString(taggingResponse));
|
|
|
throw BizException.of("E008");
|
|
throw BizException.of("E008");
|