|
@@ -69,10 +69,10 @@ public class CourseRepliedServiceImpl extends ServiceImpl<CourseScheduleRepliedD
|
|
@Override
|
|
@Override
|
|
public void replied(CourseScheduleReplied replied, SysUser sysUser) {
|
|
public void replied(CourseScheduleReplied replied, SysUser sysUser) {
|
|
if (wordFilter.include(replied.getStudentReplied(), 3)) {
|
|
if (wordFilter.include(replied.getStudentReplied(), 3)) {
|
|
- throw new BizException("文本包含敏感信息:{}", wordFilter.wordList(replied.getStudentReplied()));
|
|
|
|
|
|
+ throw new BizException("文本包含敏感信息");
|
|
}
|
|
}
|
|
if (wordFilter.include(replied.getTeacherReplied(), 3)) {
|
|
if (wordFilter.include(replied.getTeacherReplied(), 3)) {
|
|
- throw new BizException("文本包含敏感信息:{}", wordFilter.wordList(replied.getTeacherReplied()));
|
|
|
|
|
|
+ throw new BizException("文本包含敏感信息");
|
|
}
|
|
}
|
|
Long userId = sysUser.getId();
|
|
Long userId = sysUser.getId();
|
|
Long scheduleId = replied.getCourseScheduleId();
|
|
Long scheduleId = replied.getCourseScheduleId();
|