public ActionResult Edit(NewsModel model) { if (ModelState.IsValid) { var info = service.GetById(model.Id); info = model.FormData(info); service.UpdateGoogleProductRecord(info); return(Json(new AjaxResult() { Result = Result.Success, Message = "操作成功" })); } return(View(PluginHelper.GetViewPath(this.GetType(), "Edit"), model)); }