mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-21 02:57:54 +08:00
更新B-JUI到1.3版本
This commit is contained in:
@@ -20,6 +20,7 @@ using Infrastructure.Helper;
|
||||
using OpenAuth.App.ViewModel;
|
||||
using OpenAuth.Mvc.Models;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Web.Mvc;
|
||||
@@ -39,8 +40,9 @@ namespace OpenAuth.Mvc.Controllers
|
||||
return;
|
||||
}
|
||||
var controllername = Request.RequestContext.RouteData.Values["controller"].ToString().ToLower();
|
||||
var actionname = filterContext.ActionDescriptor.ActionName;
|
||||
var function = this.GetType().GetMethods().FirstOrDefault(u => u.Name == actionname);
|
||||
var actionname = filterContext.ActionDescriptor.ActionName.ToLower();
|
||||
|
||||
var function = this.GetType().GetMethods().FirstOrDefault(u => u.Name.ToLower() == actionname);
|
||||
if (function == null)
|
||||
throw new Exception("未能找到Action");
|
||||
|
||||
|
Reference in New Issue
Block a user