| | |
| | | import org.springblade.core.cache.utils.CacheUtil; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.secure.BladeUser; |
| | | import org.springblade.core.secure.annotation.PreAuth; |
| | | import org.springblade.core.secure.constant.AuthConstant; |
| | | import org.springblade.core.tenant.annotation.NonDS; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.constant.BladeConstant; |
| | | import org.springblade.core.tool.constant.RoleConstant; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springblade.system.cache.SysCache; |
| | | import org.springblade.system.entity.Role; |
| | |
| | | @AllArgsConstructor |
| | | @RequestMapping("/role") |
| | | @Api(value = "角色", tags = "角色") |
| | | @PreAuth(RoleConstant.HAS_ROLE_ADMIN) |
| | | //@PreAuth(RoleConstant.HAS_ROLE_ADMIN) |
| | | public class RoleController extends BladeController { |
| | | |
| | | private final IRoleService roleService; |
| | |
| | | /** |
| | | * 下拉数据源 |
| | | */ |
| | | @PreAuth(AuthConstant.PERMIT_ALL) |
| | | //@PreAuth(AuthConstant.PERMIT_ALL) |
| | | @GetMapping("/select") |
| | | @ApiOperationSupport(order = 8) |
| | | @ApiOperation(value = "下拉数据源", notes = "传入id集合") |