Upload
All checks were successful
JslGroup/JslDeveloper/JSL_OrganizeInternalOA/pipeline/head This commit looks good
All checks were successful
JslGroup/JslDeveloper/JSL_OrganizeInternalOA/pipeline/head This commit looks good
This commit is contained in:
parent
5075426bcf
commit
424fddd2ed
|
@ -65,7 +65,9 @@ public class ShiroConfiguration {
|
|||
filterChainDefinitionMap.put("/project/get", "anon"); // 信息接口允许匿名访问
|
||||
filterChainDefinitionMap.put("/project/get/custom", "anon"); // 游客获取项目允许匿名访问
|
||||
filterChainDefinitionMap.put("/project/add", "anon"); // 信息接口允许匿名访问
|
||||
filterChainDefinitionMap.put("/project/work/add", "anon"); // 信息接口允许匿名访问
|
||||
filterChainDefinitionMap.put("/tags/project/list", "anon"); // 信息接口允许匿名访问
|
||||
filterChainDefinitionMap.put("/module/add", "anon"); // 信息接口允许匿名访问
|
||||
filterChainDefinitionMap.put("/**/**", "authc"); // 其他接口一律拦截(需要Token)
|
||||
|
||||
|
||||
|
|
|
@ -39,6 +39,7 @@ public class ProjectController {
|
|||
|
||||
/**
|
||||
* 游客获取项目
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/project/get/custom")
|
||||
|
@ -190,6 +191,7 @@ public class ProjectController {
|
|||
|
||||
/**
|
||||
* 子系统子模块的增加
|
||||
*
|
||||
* @param request
|
||||
* @param bindingResult
|
||||
* @return
|
||||
|
|
|
@ -47,7 +47,6 @@ public class ProjectServiceImpl implements ProjectService {
|
|||
private final UserDAO userDAO;
|
||||
|
||||
@Override
|
||||
@CheckUserHasPermission("project.add")
|
||||
public BaseResponse projectAdd(HttpServletRequest request, ProjectInfoVO projectAdd) {
|
||||
log.info("\t> 执行 Service 层 ProjectService.projectAdd 方法");
|
||||
projectDAO.projectAdd(projectAdd);
|
||||
|
|
Loading…
Reference in New Issue
Block a user