From 37f55403e7573d8c15b6b0f957b7cb1baf6be4ea Mon Sep 17 00:00:00 2001
From: huanghongfa <18228131219@163.com>
Date: 星期二, 29 十二月 2020 14:47:15 +0800
Subject: [PATCH] 攀枝花项目服务层异常捕获统一返回给视图层服务

---
 springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java
index f725762..f43cac8 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java
@@ -2,6 +2,7 @@
 
 import com.panzhihua.common.model.vos.LoginUserInfoVO;
 import com.panzhihua.common.model.vos.R;
+import com.panzhihua.common.model.vos.SystemmanagementConfigVO;
 import com.panzhihua.common.model.vos.user.*;
 import com.panzhihua.service_user.service.UserService;
 import org.springframework.web.bind.annotation.PostMapping;
@@ -319,4 +320,24 @@
     public R putAgreement(@RequestBody SysUserAgreementVO sysUserAgreementVO){
         return userService.putAgreement(sysUserAgreementVO);
     }
+
+    /**
+     * 用户标签
+     * @param communityId 社区id
+     * @return 标签集合
+     */
+    @PostMapping("listcommngusertag")
+    public R listComMngUserTag(@RequestParam("communityId")Long communityId){
+        return userService.listComMngUserTag(communityId);
+    }
+
+    /**
+     * 新增删除用户标签
+     * @param systemmanagementConfigVO 操作内容
+     * @return 操作结果
+     */
+    @PostMapping("putcommngusertag")
+    public R putComMngUserTag(@RequestBody SystemmanagementConfigVO systemmanagementConfigVO){
+        return userService.putComMngUserTag(systemmanagementConfigVO);
+    }
 }

--
Gitblit v1.7.1