From 8f0627589f6f58403f70fce4bf54b735d4640064 Mon Sep 17 00:00:00 2001
From: huanghongfa <18228131219@163.com>
Date: 星期五, 25 十二月 2020 17:36:33 +0800
Subject: [PATCH] 社区管理后台系统管理模块完成

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java |  128 +++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 123 insertions(+), 5 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java
similarity index 64%
rename from springcloud_k8s_panzhihuazhihuishequ/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java
rename to springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java
index 9c8588a..2fe31a1 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java
@@ -3,9 +3,8 @@
 import com.panzhihua.common.model.vos.LoginUserInfoVO;
 import com.panzhihua.common.model.vos.MenuVO;
 import com.panzhihua.common.model.vos.R;
-import com.panzhihua.common.model.vos.user.ChangePasswordVO;
-import com.panzhihua.common.model.vos.user.ComMngFamilyInfoVO;
-import com.panzhihua.common.model.vos.user.UserPhoneVO;
+import com.panzhihua.common.model.vos.SystemmanagementConfigVO;
+import com.panzhihua.common.model.vos.user.*;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
@@ -194,7 +193,7 @@
      * @return 修改结果
      */
     @PostMapping("putuser")
-    R putUser(LoginUserInfoVO loginUserInfoVO);
+    R putUser(@RequestBody LoginUserInfoVO loginUserInfoVO);
 
     /**
      * 家庭成员列表
@@ -210,7 +209,7 @@
      * @return 增加结果
      */
     @PostMapping("addFamily")
-    R addFamily(ComMngFamilyInfoVO comMngFamilyInfoVO);
+    R addFamily(@RequestBody ComMngFamilyInfoVO comMngFamilyInfoVO);
 
     /**
      * 编辑家庭成员
@@ -219,4 +218,123 @@
      */
     @PostMapping("putfamily")
     R putFamily(@RequestBody ComMngFamilyInfoVO comMngFamilyInfoVO);
+
+    /**
+     * 新增运营后台账户
+     * @param administratorsUserVO 账户信息
+     * @return 新增结果
+     */
+    @PostMapping("adduserbackstage")
+    R addUserBackstage(@RequestBody AdministratorsUserVO administratorsUserVO);
+
+    /**
+     * 编辑运营后台账户
+     * @param administratorsUserVO 编辑账户内容
+     * @return 编辑结果
+     */
+    @PostMapping("putuserbackstage")
+    R putUserBackstage(@RequestBody AdministratorsUserVO administratorsUserVO);
+
+    /**
+     * 删除后台用户
+     * @param administratorsUserVO 用户主键
+     * @return 删除结果
+     */
+    @PostMapping("deleteuserbackstage")
+    R deleteUserBackstage(@RequestBody AdministratorsUserVO administratorsUserVO);
+
+    /**
+     * 角色下拉列表
+     * @param communityId 对应社区 0 表示运营后台
+     * @return 角色集合
+     */
+    @PostMapping("/role/listrolebackstage")
+    R listRoleBackstage(@RequestParam("communityId") Long communityId);
+
+    /**
+     * 分页查询后台用户
+     * @param administratorsUserVO 查询参数
+     * @return 后台用户
+     */
+    @PostMapping("pageuserbackstage")
+    R pageUserBackstage(@RequestBody AdministratorsUserVO administratorsUserVO);
+
+    /**
+     * 新增角色
+     * @param roleVO 角色信息
+     * @return 新增结果
+     */
+    @PostMapping("/role/addrolebackstage")
+    R addRoleBackstage(@RequestBody RoleVO roleVO);
+
+    /**
+     * 删除角色
+     * @param roleVO 角色主键
+     * @return 删除结果
+     */
+    @PostMapping("/role/deleterolebackstage")
+    R deleteRoleBackstage(@RequestBody RoleVO roleVO);
+
+    /**
+     * 平台菜单列表
+     * @param type 1 运营平台 2 社区平台
+     * @return 菜单集合
+     */
+    @PostMapping("/role/listmenubackstage")
+    R listMenuBackstage(@RequestParam("type")int type);
+
+    /**
+     * 设置角色的权限
+     * @param menuRoleVO 用户设置的权限id
+     * @return 设置结果
+     */
+    @PostMapping("/role/putmenurole")
+    R putMenuRole(@RequestBody MenuRoleVO menuRoleVO);
+
+    /**
+     * 保存操作日志
+     * @param operlog 日志内容
+     * @return 保存结果
+     */
+    @PostMapping("addoperlog")
+    R addOperLog(@RequestBody SysOperLogVO operlog);
+
+    /**
+     * 分页展示操作日志
+     * @param sysOperLogVO 分页参数
+     * @return 分页集合
+     */
+    @PostMapping("pageoperlog")
+    R pageOperLog(@RequestBody SysOperLogVO sysOperLogVO);
+
+    /**
+     * 用户协议
+     * @return 协议集合
+     */
+    @PostMapping("listagreement")
+    R listAgreement();
+
+    /**
+     * 编辑用户协议
+     * @param sysUserAgreementVO 编辑内容
+     * @return 编辑结果
+     */
+    @PostMapping("putagreement")
+    R putAgreement(@RequestBody SysUserAgreementVO sysUserAgreementVO);
+
+    /**
+     * 用户标签
+     * @param communityId 社区id
+     * @return 标签集合
+     */
+    @PostMapping("listcommngusertag")
+    R listComMngUserTag(@RequestParam("communityId")Long communityId);
+
+    /**
+     * 新增删除用户标签
+     * @param systemmanagementConfigVO 操作内容
+     * @return 操作结果
+     */
+    @PostMapping("putcommngusertag")
+    R putComMngUserTag(@RequestBody SystemmanagementConfigVO systemmanagementConfigVO);
 }

--
Gitblit v1.7.1