Ejemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                BLL.wx_diancai_shopinfo shopBll = new BLL.wx_diancai_shopinfo();

                shopid    = MyCommFun.RequestInt("shopid");
                openid    = MyCommFun.QueryString("openid");
                shopinfo  = shopBll.GetModel(shopid);
                hotelName = shopinfo.hotelName;
                rename    = shopinfo.dcRename;

                BLL.wx_diancai_member           menberbll = new BLL.wx_diancai_member();
                IList <Model.wx_diancai_member> memlist   = menberbll.GetModelList("shopid=" + shopid + " and openid='" + openid + "'");

                if (memlist == null || memlist.Count <= 0 || memlist[0] == null)
                {
                }
                else
                {
                    username = memlist[0].Name;
                    usertel  = memlist[0].menberTel;
                    useraddr = memlist[0].memberAddress;
                }
            }
        }