protected void UpdateHelpTopStepNum() { int reqId = WEBRequest.GetQueryInt("id", 0); string feedback = WEBRequest.GetQueryString("feedtype"); WXHelpService.UpdateHelpTopStepNum(reqId, feedback); var jsonObj = new { result = "1", msg = "" }; var jsonString = TuanDai.WXSystem.Core.JsonHelper.ToJson(jsonObj); this.Context.Response.Write(jsonString); this.Context.Response.End(); }
protected void BinderData() { //从APP跳转过来不显示导航条 string strType = Tool.CookieHelper.GetCookie("HelpCenterType").ToText(); if (strType.ToLower() == "mobileapp") { IsShowRightBar = false; } categroyList = WXHelpService.GetCategoryInfoTop(TypeId, 9); NewsList = WXHelpService.GetDetailInfoTopByCategoryId(40, TypeId); }
protected void BinderData() { //从APP跳转过来不显示导航条 string strType = Tool.CookieHelper.GetCookie("HelpCenterType").ToText(); if (strType.ToLower() == "mobileapp") { IsShowRightBar = false; } model = WXHelpService.GetDetailInfoById(NewsId); if (model == null) { Response.Redirect("helpIndex.aspx"); return; } //异步更新浏览记录 Action doAction = new Action(delegate() { UpdateClickNumber(NewsId); }); doAction.BeginInvoke(null, null); }
private void UpdateClickNumber(int newsId) { WXHelpService.UpdateClickNumber(NewsId); }
protected void BinderData() { categroyList = WXHelpService.GetCategoryInfoTop(0, 9); hotQueList = WXHelpService.GetDetailInfoTopByCategoryId(20, 0); }