01.code/LanweiUI/src/BasePageClientWeixin.cs

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Lanwei.Weixin.DAL;
using Lanwei.Weixin.Common;
using Lanwei.Weixin.Model;
using Lanwei.Weixin.DBUtility;

namespace Lanwei.Weixin.UI.src
{
    public class BasePageClientWeixin :Page
    {

        private string errmessagecode = "";

        private bool isWeixinBrowser = true;

        public string openId = SQLHelper.openId;

        public string fromOpenId = SQLHelper.fromOpenId;

        public int clientId = SQLHelper.clientId;

        public int clientTypeId = SQLHelper.clientTypeId;

        public string clientName = SQLHelper.clientName;

        public string clientTypeName = SQLHelper.clientTypeName;

        public string clientPwd = SQLHelper.clientPwd;


        /// <summary>
        /// app平台名称
        /// </summary>
        public string appName = SQLHelper.appName;

      
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);


            //判断微信浏览器

            //if (!WeixinBrowser())
            //{
            //    string returnurl = "";
            //    if (isWeixinBrowser)
            //    {
            //        returnurl = Constant.OverTimePageClient + "?" + Constant.ErrMessage + "=" + Server.HtmlEncode(Constant.OverTime);
            //    }
后面还有 61 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。