Class SysDefaultRoleController

java.lang.Object
cn.herodotus.engine.web.api.servlet.AbstractReadableController<E,ID,S>
cn.herodotus.engine.web.api.servlet.AbstractWriteableController<E,ID,cn.herodotus.engine.data.core.jpa.service.BaseJpaWriteableService<E,ID>>
cn.herodotus.engine.web.api.servlet.AbstractJpaWriteableController<SysDefaultRole,String>
cn.herodotus.engine.rest.servlet.upms.controller.security.SysDefaultRoleController
All Implemented Interfaces:
cn.herodotus.engine.core.definition.domain.BaseDomain, cn.herodotus.engine.core.definition.domain.Pagination, BindingController<SysDefaultRole,String,cn.herodotus.engine.data.core.jpa.service.BaseJpaWriteableService<SysDefaultRole,String>>, PageController<SysDefaultRole,String,cn.herodotus.engine.data.core.jpa.service.BaseJpaWriteableService<SysDefaultRole,String>>, PaginationController, cn.herodotus.engine.web.core.definition.Controller, Serializable

@RestController @RequestMapping("/security/default-role") public class SysDefaultRoleController extends AbstractJpaWriteableController<SysDefaultRole,String>

Description: 系统默认角色管理接口

Author:
: gengwei.zheng
See Also:
Date:
: 2021/7/21 16:12
  • Constructor Details

    • SysDefaultRoleController

      public SysDefaultRoleController(SysDefaultRoleService sysDefaultRoleService)
  • Method Details

    • getService

      public cn.herodotus.engine.data.core.jpa.service.BaseJpaWriteableService<SysDefaultRole,String> getService()
    • assign

      @PutMapping public cn.herodotus.engine.core.definition.domain.Result<SysDefaultRole> assign(@RequestParam(name="defaultId") @NotBlank @NotBlank String defaultId, @RequestParam(name="roleId") @NotBlank @NotBlank String roleId)