Exemplo n.º 1
0
        /// <summary>
        /// 执行初始化
        /// </summary>
        /// <param name="session"></param>
        public void InitSession(Session session)
        {
            Session = session;
            UiUtility.AttachContext(this, session);

            lblTip.Text = $"<b>{session.UserKeyData.DisplayName}</b> ({session.UserName}) 的手机号 <font color='red'><b>{session.UserKeyData.MobileNumber}</b></font> 未通过核验,<br />可能会对订票、更改密码等产生影响,是否现在就核验?";
        }
Exemplo n.º 2
0
 /// <summary>
 /// 执行初始化
 /// </summary>
 /// <param name="session"></param>
 public void InitSession(Session session)
 {
     Session = session;
     UiUtility.AttachContext(this, session);
     _service = new BindMobileService(session);
 }