Esempio n. 1
0
        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();
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
        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);
        }
Esempio n. 4
0
 private void UpdateClickNumber(int newsId)
 {
     WXHelpService.UpdateClickNumber(NewsId);
 }
Esempio n. 5
0
        protected void BinderData()
        {
            categroyList = WXHelpService.GetCategoryInfoTop(0, 9);

            hotQueList = WXHelpService.GetDetailInfoTopByCategoryId(20, 0);
        }