From 0ceb3c850cc2d6df73819985dbbc67630b435314 Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期五, 28 六月 2024 14:16:56 +0800
Subject: [PATCH] 花城 修改【小程序】【需求清单】位接单后,切换问题、需求数据一样
---
springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/NeighborApi.java | 29 ++++++++++++++++++-----------
1 files changed, 18 insertions(+), 11 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/NeighborApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/NeighborApi.java
index 368384c..9a370ce 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/NeighborApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/NeighborApi.java
@@ -66,18 +66,20 @@
if (userId == null) {
return R.fail("请重新登录");
}
- String releaseContent = addNeighborCircleAppDTO.getReleaseContent();
- if (StrUtil.isNotBlank(releaseContent)) {
- String result = checkService.checkMessageBy(releaseContent, this.getLoginUserInfo().getOpenid(), this.getAppId());
- if (StrUtil.isNotBlank(result)) {
- return R.fail(501, "填写内容存在 " + result + " 违规信息");
+ if (!this.getAppId().equals("wx118de8a734d269f0")){
+ String releaseContent = addNeighborCircleAppDTO.getReleaseContent();
+ if (StrUtil.isNotBlank(releaseContent)) {
+ String result = checkService.checkMessageBy(releaseContent, this.getLoginUserInfo().getOpenid(), this.getAppId());
+ if (StrUtil.isNotBlank(result)) {
+ return R.fail(501, "填写内容存在 " + result + " 违规信息");
+ }
}
- }
- String releaseImages = addNeighborCircleAppDTO.getReleaseImages();
- if (StrUtil.isNotBlank(releaseImages)) {
- if (checkService.checkImageBy(releaseImages, this.getAppId())) {
- return R.fail(501, "上传图片存在违规信息");
- }
+ /* String releaseImages = addNeighborCircleAppDTO.getReleaseImages();
+ if (StrUtil.isNotBlank(releaseImages)) {
+ if (checkService.checkImageBy(releaseImages, this.getAppId())) {
+ return R.fail(501, "上传图片存在违规信息");
+ }
+ }*/
}
addNeighborCircleAppDTO.setUserId(userId);
if (StringUtils.isNotEmpty(loginUser.getPhone())) {
@@ -256,6 +258,11 @@
return communityService.getNeighborTopicByApp(name);
}
+ @GetMapping("topic/list/new")
+ public R getNeighborTopicByAppNew(@RequestParam(value = "name", defaultValue = "", required = false) String name){
+ return communityService.getNeighborTopicByAppNew(name);
+ }
+
@ApiOperation(value = "用户删除邻里圈")
@PostMapping("delete")
public R deleteNeighborByApp(@RequestBody DeleteNeighborCircleAppDTO circleTopicAppDTO) {
--
Gitblit v1.7.1