类 StaffRoleRESTController

java.lang.Object
com.mbap.pp.core.role.controller.StaffRoleRESTController

@RestController @RequestMapping("rest/system/staffrole") public class StaffRoleRESTController extends Object
用户与用户组接口
作者:
Amanda.Z
  • 构造器详细资料

    • StaffRoleRESTController

      public StaffRoleRESTController()
  • 方法详细资料

    • save_role_staff

      @ResponseBody @RequestMapping(method=POST, name="\u4fdd\u5b58\u7528\u6237\u7ec4\u4e0e\u4eba\u5458\u5173\u7cfb") public com.mbap.util.view.R save_role_staff(@RequestBody com.mbap.pp.core.role.domain.StaffRoleRelation staffRoleRelation)
      功能描述:保存用户组与人员关系
      参数:
      pw -
      roleId\u7528\u6237\u7ec4id -
      staffIds\u4eba\u5458id -
    • getstaff

      @ResponseBody @RequestMapping(value="/getStaff", method=GET, name="\u6839\u636e\u7528\u6237\u7ec4\u7f16\u53f7\u67e5\u627e\u4eba\u5458") public com.mbap.util.view.R getstaff(@RequestParam(value="roleId",required=false) String roleId)
      功能描述:根据用户组编号查找人员
      参数:
      roleid - 用户组编号
      返回:
      String 用户组所有人员路径页面