系统权限主要功能测试
This commit is contained in:
@@ -38,7 +38,6 @@ public class SysDeptController extends BaseController
|
||||
/**
|
||||
* 获取部门列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:dept:list')")
|
||||
@GetMapping("/list")
|
||||
public AjaxResult list(SysDept dept)
|
||||
{
|
||||
@@ -49,7 +48,6 @@ public class SysDeptController extends BaseController
|
||||
/**
|
||||
* 查询部门列表(排除节点)
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:dept:list')")
|
||||
@GetMapping("/list/exclude/{deptId}")
|
||||
public AjaxResult excludeChild(@PathVariable(value = "deptId", required = false) Long deptId)
|
||||
{
|
||||
|
||||
@@ -38,7 +38,6 @@ public class SysPostController extends BaseController
|
||||
/**
|
||||
* 获取岗位列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:post:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(SysPost post)
|
||||
{
|
||||
@@ -51,7 +50,6 @@ public class SysPostController extends BaseController
|
||||
* 查询所有有效岗位信息以List方式返回
|
||||
* @return
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:post:list')")
|
||||
@GetMapping("/listAll")
|
||||
public AjaxResult listAll(){
|
||||
SysPost post = new SysPost();
|
||||
|
||||
@@ -52,7 +52,6 @@ public class SysUserController extends BaseController
|
||||
/**
|
||||
* 获取用户列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:user:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(SysUser user)
|
||||
{
|
||||
|
||||
@@ -2,9 +2,6 @@ package com.ktg.web.controller.system;
|
||||
|
||||
import com.ktg.common.core.controller.BaseController;
|
||||
import com.ktg.common.core.page.TableDataInfo;
|
||||
import com.ktg.mes.md.domain.MdVendor;
|
||||
import com.ktg.mes.pro.service.IProFeedbackService;
|
||||
import com.ktg.mes.wm.service.*;
|
||||
import com.ktg.system.domain.UserTask;
|
||||
import com.ktg.system.service.IUserTaskService;
|
||||
import io.swagger.annotations.Api;
|
||||
|
||||
Reference in New Issue
Block a user