From 4b31b326ec1dc2e5366dc3192af6e1bbee807853 Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期四, 16 十一月 2023 15:25:40 +0800
Subject: [PATCH] 修改微心愿列表我认领的接口3
---
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