Commit 89e169cb authored by alex yao's avatar alex yao

feat: 问答知识库 新增/更新分片内容,字数校验

parent f766899b
......@@ -115,7 +115,7 @@ public class QAKnowledgeServiceImpl implements QAKnowledgeService {
throw new I18nMessageException("exception/file.cell.content.more.than.300");
}
if (totalWordCount > 3000) {
throw new I18nMessageException("exception/file.cell.content.more.than.3000");
throw new I18nMessageException("exception/file.rows.content.more.than.3000");
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment