示例#1
0
        public ShopBasePage()
        {
            serverPath       = "";
            templateFileName = "";
            errInitTemplates = "";
            wid = MyCommFun.RequestInt("wid");
            if (wid == 0)
            {
                errInitTemplates = "链接地址或者参数错误!";
                return;
            }
            BLL.wx_userweixin wuwBll = new BLL.wx_userweixin();
            bool isExist             = wuwBll.wxCodeLegal(wid);

            if (!isExist)
            {
                errInitTemplates = "账号已过期或已被禁用!";
                return;
            }
        }
示例#2
0
        public TBasePage()
        {
            tPath = "";
            templateIndexFileName = "";
            templateListFileName  = "";
            templateDetailName    = "";
            errInitTemplates      = "";

            wid = MyCommFun.RequestInt("wid");
            BLL.wx_userweixin wuwBll = new BLL.wx_userweixin();
            if (wid == 0)
            {
                errInitTemplates = "链接地址或者参数错误!";
                return;
            }

            bool isExist = wuwBll.wxCodeLegal(wid);

            if (!isExist)
            {
                errInitTemplates = "账号已过期或已被禁用!";
                return;
            }
        }