| | |
| | | if (StrUtil.isNotBlank(releaseContent)) { |
| | | String result = checkService.checkMessageBy(releaseContent, openid, appId); |
| | | if (StrUtil.isNotBlank(result)) { |
| | | return R.fail(Constants.NOTICE_FAIL, "填写内容存在 " + result + " 违规信息"); |
| | | return R.fail(501, "填写内容存在 " + result + " 违规信息"); |
| | | } |
| | | } |
| | | |
| | |
| | | String releaseImages = addNeighborCircleAppDTO.getReleaseImages(); |
| | | if (StrUtil.isNotBlank(releaseImages)) { |
| | | if (!checkService.checkImageBy(releaseImages, appId)) { |
| | | return R.fail(Constants.NOTICE_FAIL, "上传图片存在违规信息"); |
| | | return R.fail(501, "上传图片存在违规信息"); |
| | | } |
| | | } |
| | | |
| | |
| | | |
| | | if(this.getAppId().equals("wx118de8a734d269f0")){ |
| | | //花城直接通过 |
| | | addNeighborCircleAppDTO.setIsExamine(AddComActNeighborCircleAppDTO.isExamine.yes); |
| | | addNeighborCircleAppDTO.setIsExamine(AddComActNeighborCircleAppDTO.isExamine.no); |
| | | addNeighborCircleAppDTO.setWxExamineResult(AddComActNeighborCircleAppDTO.isExamine.yes); |
| | | }else { |
| | | //查询社区自动审核是否开着 |
| | |
| | | if (StrUtil.isNotBlank(content)) { |
| | | String result = checkService.checkMessageBy(content, openid, appId); |
| | | if (StrUtil.isNotBlank(result)) { |
| | | return R.fail(Constants.NOTICE_FAIL, "填写内容存在 " + result + " 违规信息"); |
| | | return R.fail(501, "填写内容存在 " + result + " 违规信息"); |
| | | } |
| | | } |
| | | return communityWestService.neighborCommentByApp(commentAppDTO); |