类 RoleController

java.lang.Object
plus.hiver.module.system.controller.RoleController

@RestController @RequestMapping("/hiver/role") @Transactional public class RoleController extends Object
角色管理接口

尊重知识产权,CV 请保留版权,海文科技 https://hiver.cc 出品,不允许非法使用,后果自负

作者:
Yazhi Li
  • 构造器详细资料

    • RoleController

      public RoleController()
  • 方法详细资料

    • roleGetAll

      @GetMapping("/getAllList") public plus.hiver.common.api.Result roleGetAll()
    • getRoleByPage

      @GetMapping("/getAllByPage") public plus.hiver.common.api.Result<org.springframework.data.domain.Page<plus.hiver.common.entity.Role>> getRoleByPage(String key, plus.hiver.common.vo.PageVo page)
    • setDefault

      @PostMapping("/setDefault") public plus.hiver.common.api.Result setDefault(@RequestParam Long id, @RequestParam Boolean isDefault)
    • editRolePerm

      @PostMapping("/editRolePerm") public plus.hiver.common.api.Result editRolePerm(@RequestParam Long roleId, @RequestParam(required=false) Long[] permIds)
    • editRoleDep

      @PostMapping("/editRoleDep") public plus.hiver.common.api.Result editRoleDep(@RequestParam Long roleId, @RequestParam Integer dataType, @RequestParam(required=false) Long[] depIds)
    • save

      @PostMapping("/save") public plus.hiver.common.api.Result<plus.hiver.common.entity.Role> save(plus.hiver.common.entity.Role role)
    • edit

      @PostMapping("/edit") public plus.hiver.common.api.Result<plus.hiver.common.entity.Role> edit(plus.hiver.common.entity.Role entity)
    • delByIds

      @PostMapping("/delByIds") public plus.hiver.common.api.Result delByIds(@RequestParam Long[] ids)