Exemple #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!string.IsNullOrEmpty(Request["oid"]))
     {
         var currentUserInfo = bll.Get <ZentCloud.BLLJIMP.Model.UserInfo>(string.Format("WXOpenId='{0}'", Request["oid"]));
         if (currentUserInfo != null)
         {
             Session[SessionKey.UserID]     = currentUserInfo.UserID;
             Session[SessionKey.LoginStatu] = 1;
             Session[SessionKey.UserType]   = currentUserInfo.UserType;
         }
     }
     Response.Write(bll.GetTemplateSource(bll.WebsiteOwner, "mypub"));
 }