.Net Mvc ActionFilterAttribute的OnActionExecuted中获取请求参数信息

public override void OnActionExecuted(HttpActionExecutedContext context){

var dicParams= context.ActionContext.ActionArguments;

  var model = dicParams["参数名"] ;


}

 

posted @ 2021-07-08 14:59  沉迷编程的程序员  阅读(143)  评论(0编辑  收藏  举报