| | |
| | | @RestController |
| | | @RequestMapping(AppConstant.APPLICATION_FLOW_NAME + "/follow") |
| | | @AllArgsConstructor |
| | | @PreAuth("hasAnyRole('administrator', 'admin','jdgly','sqgly')") |
| | | //@PreAuth("hasAnyRole('administrator', 'admin','jdgly','sqgly')") |
| | | @ApiIgnore |
| | | public class FlowFollowController { |
| | | |
| | |
| | | @RequestMapping(AppConstant.APPLICATION_FLOW_NAME + "/manager") |
| | | @AllArgsConstructor |
| | | @Api(value = "流程管理接口", tags = "流程管理接口") |
| | | @PreAuth("hasAnyRole('administrator', 'admin','jdgly','sqgly')") |
| | | //@PreAuth("hasAnyRole('administrator', 'admin','jdgly','sqgly')") |
| | | @ApiIgnore |
| | | public class FlowManagerController { |
| | | |
| | |
| | | @RestController |
| | | @RequestMapping(AppConstant.APPLICATION_FLOW_NAME + "/model") |
| | | @AllArgsConstructor |
| | | @PreAuth("hasAnyRole('administrator', 'admin','jdgly','sqgly')") |
| | | //@PreAuth("hasAnyRole('administrator', 'admin','jdgly','sqgly')") |
| | | @ApiIgnore |
| | | public class FlowModelController { |
| | | |
| | |
| | | * 新增或修改 |
| | | */ |
| | | @PostMapping("/submit") |
| | | @PreAuth(RoleConstant.HAS_ROLE_ADMINISTRATOR) |
| | | // @PreAuth(RoleConstant.HAS_ROLE_ADMINISTRATOR) |
| | | @ApiOperationSupport(order = 6) |
| | | @ApiOperation(value = "新增或修改", notes = "传入menu") |
| | | public R submit(@Valid @RequestBody MenuDTO menu) { |