| | |
| | | public ResultUtil feedback(String content, Integer uid, Integer language) throws Exception { |
| | | if(ToolUtil.isNotEmpty(content)){ |
| | | if(content.length() > 200){ |
| | | return ResultUtil.error(language == 1 ? "反馈内容过长" : language == 2 ? "The feedback is too long" : "Le contenu des commentaires est trop long"); |
| | | return ResultUtil.error(language == 1 ? "反馈内容过长" : language == 2 ? "Feedback-content is overlong." : "Le contenu de l’avis est trop long."); |
| | | } |
| | | List<SensitiveWords> sensitiveWords = sensitiveWordsMapper.selectList(null); |
| | | for(SensitiveWords s : sensitiveWords){ |