Bladeren bron

取消分组数据权限

wukai 2 jaren geleden
bovenliggende
commit
dc8fce1dc5

+ 0 - 6
lzga-modules/lzga-doc/src/main/java/com/jjt/doc/controller/DocGroupController.java

@@ -31,7 +31,6 @@ public class DocGroupController extends BaseController {
     /**
      * 查询分组列表
      */
-    @RequiresPermissions("doc:group:list")
     @GetMapping("/list")
     public TableDataInfo list(DocGroup docGroup) {
         startPage();
@@ -66,7 +65,6 @@ public class DocGroupController extends BaseController {
     /**
      * 导出分组列表
      */
-    @RequiresPermissions("doc:group:export")
     @Log(title = "分组", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     public void export(HttpServletResponse response, DocGroup docGroup) {
@@ -78,7 +76,6 @@ public class DocGroupController extends BaseController {
     /**
      * 获取分组详细信息
      */
-    @RequiresPermissions("doc:group:query")
     @GetMapping(value = "/{groupId}")
     public AjaxResult getInfo(@PathVariable("groupId") Long groupId) {
         return success(docGroupService.selectDocGroupByGroupId(groupId));
@@ -87,7 +84,6 @@ public class DocGroupController extends BaseController {
     /**
      * 新增分组
      */
-    @RequiresPermissions("doc:group:add")
     @Log(title = "分组", businessType = BusinessType.INSERT)
     @PostMapping
     public AjaxResult add(@RequestBody DocGroup docGroup) {
@@ -97,7 +93,6 @@ public class DocGroupController extends BaseController {
     /**
      * 修改分组
      */
-    @RequiresPermissions("doc:group:edit")
     @Log(title = "分组", businessType = BusinessType.UPDATE)
     @PutMapping
     public AjaxResult edit(@RequestBody DocGroup docGroup) {
@@ -107,7 +102,6 @@ public class DocGroupController extends BaseController {
     /**
      * 删除分组
      */
-    @RequiresPermissions("doc:group:remove")
     @Log(title = "分组", businessType = BusinessType.DELETE)
     @DeleteMapping("/{groupIds}")
     public AjaxResult remove(@PathVariable Long[] groupIds) {