fix: 修复session到期之后测试计划,测试用例与模块不对应
This commit is contained in:
parent
801ee5edd5
commit
1f4dc99864
|
@ -25,6 +25,7 @@ import java.util.List;
|
|||
|
||||
@RequestMapping("/test/case")
|
||||
@RestController
|
||||
@RequiresRoles(value = {RoleConstants.ADMIN, RoleConstants.TEST_MANAGER, RoleConstants.TEST_USER, RoleConstants.TEST_VIEWER, RoleConstants.ORG_ADMIN}, logical = Logical.OR)
|
||||
public class TestCaseController {
|
||||
|
||||
@Resource
|
||||
|
|
|
@ -10,10 +10,11 @@ import org.apache.shiro.authz.annotation.RequiresRoles;
|
|||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.*;
|
||||
import java.util.List;
|
||||
|
||||
@RequestMapping("/case/node")
|
||||
@RestController
|
||||
@RequiresRoles(value = {RoleConstants.ADMIN, RoleConstants.TEST_MANAGER, RoleConstants.TEST_USER, RoleConstants.TEST_VIEWER, RoleConstants.ORG_ADMIN}, logical = Logical.OR)
|
||||
public class TestCaseNodeController {
|
||||
|
||||
@Resource
|
||||
|
|
Loading…
Reference in New Issue