private void InitPassportInfo() { PassportInfoProxy passportInfo = m_PassportInfo; if (passportInfo == null) { lock (locker) { if (m_PassportInfo == null) { passportInfo = PassportService.Passport_GetInfo(); //m_PassportInfo = passportInfo; this.m_LoginUrl = UrlUtil.JoinUrl(this.PassportRoot, passportInfo.LoginUrl); this.m_LogoutUrl = UrlUtil.JoinUrl(this.PassportRoot, passportInfo.LogoutUrl); this.m_RegisterUrl = UrlUtil.JoinUrl(this.PassportRoot, passportInfo.RegisterUrl); this.m_RecoverPasswordUrl = UrlUtil.JoinUrl(this.PassportRoot, passportInfo.RecoverPasswordUrl); this.m_AvatarGeneratorUrl = UrlUtil.JoinUrl(this.PassportRoot, passportInfo.AvatarGeneratorUrl); this.m_SettingAvatarUrl = UrlUtil.JoinUrl(this.PassportRoot, passportInfo.SettingAvatarUrl); this.m_SettingChangeEmailUrl = UrlUtil.JoinUrl(this.PassportRoot, passportInfo.SettingChangeEmailUrl); this.m_SettingNotifyUrl = UrlUtil.JoinUrl(this.PassportRoot, passportInfo.SettingNotifyUrl); this.m_SettingPasswordUrl = UrlUtil.JoinUrl(this.PassportRoot, passportInfo.SettingPasswordUrl); this.m_SettingPrlofileUrl = UrlUtil.JoinUrl(this.PassportRoot, passportInfo.SettingPrlofileUrl); this.m_CenterUrl = UrlUtil.JoinUrl(this.PassportRoot, passportInfo.CenterUrl); this.m_CenterChatUrl = UrlUtil.JoinUrl(this.PassportRoot, passportInfo.CenterChatUrl); this.m_CenterNotifyUrl = UrlUtil.JoinUrl(this.PassportRoot, passportInfo.CenterNotifyUrl); this.m_CookieName = passportInfo.CookieName; #region 关联设置 AllSettings.Current.PhoneValidateSettings.Open = passportInfo.EnablePhoneValidate; AllSettings.Current.NameCheckSettings.EnableRealnameCheck = passportInfo.EnableRealnameCheck; #endregion m_PassportInfo = passportInfo; } } } }