public ActionResult Create(NewsModel model) { if (ModelState.IsValid) { var name = Session["User"] as User; service.InsertGoogleProductRecord(model.ToInfo()); return(Json(new AjaxResult() { Result = Result.Success, Message = "操作成功" })); } return(View(PluginHelper.GetViewPath(this.GetType(), "Create"), model)); }