Class SysroleController

java.lang.Object
cn.sparrow.common.controller.SysroleController
@RestController public class SysroleControllerextends Object
  • Constructor Details

    • SysroleController

      public  SysroleController()
  • Method Details

    • sysroles

      @GetMapping("/sysroles") public  org.springframework.data.domain.Page<Sysrole>  sysroles(@Nullable org.springframework.data.domain.Pageable pageable)
    • add

      @PostMapping("/sysroles/batch") public  void  add(@NotNull @NotNull List<Sysrole> sysroles)
    • udpate

      @PatchMapping("/sysroles/batch") public  void  udpate(@NotNull @NotNull List<Sysrole> sysroles)
    • delete

      @DeleteMapping("/sysroles/batch") public  void  delete(@NotNull @NotNull String[] ids)
    • addPermissions

      @PostMapping("/sysroles/permissions") public  void  addPermissions(SysrolePermission permission)
    • delPermissions

      @DeleteMapping("/sysroles/permissions") public  void  delPermissions(SysrolePermission permission)