public JsonResult SaveServiceSetting(decimal Price, int ReviceDays = 0) { Result result = new Result(); try { var model = new LimitTimeBuySettingModel { Price = Price, ReviceDays = ReviceDays }; _iLimitTimeBuyService.UpdateServiceSetting(model); result.success = true; result.msg = "保存成功!"; } catch (HimallException ex) { result.msg = ex.Message; } catch (Exception ex) { Log.Error("保存出错", ex); result.msg = "保存出错!"; } return(Json(result)); }