调试
This commit is contained in:
parent
351a896e71
commit
f8213c4c1c
@ -248,8 +248,13 @@ public class RagHttpService {
|
||||
|
||||
if (jsonObject.getBoolean("status")) {
|
||||
log.info(" ========= Response Body Result: {}", response.getBody());
|
||||
aDo.setKnowledgeBaseIntro("11-- succcc: "+ragEmbed);
|
||||
knowledgeBaseMapper.updateById(aDo);
|
||||
throw exception(new ErrorCode(10047, " ------------ 知识库上传成功"));
|
||||
|
||||
} else {
|
||||
aDo.setKnowledgeBaseIntro("11-- error: "+ragEmbed);
|
||||
knowledgeBaseMapper.updateById(aDo);
|
||||
throw exception(new ErrorCode(10047, " xxxxxxxxxxxx 知识库上传失败"));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user