Exemple #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            lbError.Visible = false;
            SuperLoginServiceClient client = new SuperLoginServiceClient();

            try
            {
                var tokent = client.GetAccessTokenInTypeByDealerId(Convert.ToInt32(TID), 2).m_AccessToken.ToString();
                token.Value = tokent;
            }
            catch (Exception ex)
            {
                NeedRedirect    = "0";
                lbError.Visible = true;
                BLL.Loger.Log4Net.Error("亚超登录-调用接口报错,会员编号为:" + TID, ex);
            }

            wkopuserid.Value = BLL.Util.GetLoginUserID().ToString();;
        }