public ActionResult Form(string roleId, string perIds) { _roleAuthorizeService.Authorize(roleId, perIds.ToStrArray()); return(Success("授权成功")); }
public ActionResult Form(Guid roleId, string perIds) { _roleAuthorizeService.Authorize(roleId, perIds.ToStrArray().Select(t => Guid.Parse(t)).ToArray()); return(Success("授权成功")); }