From 9109a60d73507e411020c32c8f66fb5ba6fef80c Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期一, 28 十一月 2022 16:43:44 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/huacheng_test' into huacheng_test
---
springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/NeighborWestApi.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/NeighborWestApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/NeighborWestApi.java
index 4ffc58c..12620c7 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/NeighborWestApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/NeighborWestApi.java
@@ -66,7 +66,7 @@
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 + " 违规信息");
}
}
@@ -74,7 +74,7 @@
String releaseImages = addNeighborCircleAppDTO.getReleaseImages();
if (StrUtil.isNotBlank(releaseImages)) {
if (!checkService.checkImageBy(releaseImages, appId)) {
- return R.fail(Constants.NOTICE_FAIL, "上传图片存在违规信息");
+ return R.fail(501, "上传图片存在违规信息");
}
}
@@ -87,7 +87,7 @@
if(this.getAppId().equals("wx118de8a734d269f0")){
//花城直接通过
- addNeighborCircleAppDTO.setIsExamine(AddComActNeighborCircleAppDTO.isExamine.yes);
+ addNeighborCircleAppDTO.setIsExamine(AddComActNeighborCircleAppDTO.isExamine.no);
addNeighborCircleAppDTO.setWxExamineResult(AddComActNeighborCircleAppDTO.isExamine.yes);
}else {
//查询社区自动审核是否开着
@@ -187,7 +187,7 @@
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);
--
Gitblit v1.7.1