From 9840d5b42aeb53f9ac7e4121101913592ca6da5f Mon Sep 17 00:00:00 2001 From: huanghongfa <18228131219@163.com> Date: 星期三, 30 十二月 2020 14:50:29 +0800 Subject: [PATCH] 测试版本 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java | 21 +++++++++++++++++++-- 1 files changed, 19 insertions(+), 2 deletions(-) diff --git a/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 index 2fe31a1..16136ce 100644 --- a/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 @@ -1,5 +1,6 @@ package com.panzhihua.common.service.user; +import com.panzhihua.common.model.dtos.user.PageUserAppletsBackstageDTO; import com.panzhihua.common.model.vos.LoginUserInfoVO; import com.panzhihua.common.model.vos.MenuVO; import com.panzhihua.common.model.vos.R; @@ -277,11 +278,11 @@ /** * 平台菜单列表 - * @param type 1 运营平台 2 社区平台 + * @param communityId 社区id 0 运营平台 * @return 菜单集合 */ @PostMapping("/role/listmenubackstage") - R listMenuBackstage(@RequestParam("type")int type); + R listMenuBackstage(@RequestParam("communityId")Long communityId); /** * 设置角色的权限 @@ -337,4 +338,20 @@ */ @PostMapping("putcommngusertag") R putComMngUserTag(@RequestBody SystemmanagementConfigVO systemmanagementConfigVO); + + /** + * 分页查询小程序用户 + * @param pageUserAppletsBackstageDTO 查询参数 + * @return 分页集合 + */ + @PostMapping("pageuserappletsbackstage") + R pageUserAppletsBackstage(@RequestBody PageUserAppletsBackstageDTO pageUserAppletsBackstageDTO); + + /** + * 编辑用户状态 + * @param pageUserAppletsBackstageDTO 启用或者禁用 1 启用 2 禁用 + * @return 编辑结果 + */ + @PostMapping("putuserappletsbackstage") + R putUserAppletsBackstage(@RequestBody PageUserAppletsBackstageDTO pageUserAppletsBackstageDTO); } -- Gitblit v1.7.1