예제 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         MQPage mqPage = this.Page as MQPage;
         ImageServerUrl = mqPage.ImageServerUrl;
         if (mqPage.SiteUserInfo != null)
         {
             if (!mqPage.SiteUserInfo.CompanyRole.HasRole(EyouSoft.Model.CompanyStructure.CompanyType.专线))
             {
                 a_zx.Visible = false;
             }
             if (!mqPage.SiteUserInfo.CompanyRole.HasRole(EyouSoft.Model.CompanyStructure.CompanyType.组团))
             {
                 a_zt.Visible = false;
             }
         }
         DefaultUrl = EyouSoft.Common.Utils.GetDesPlatformUrlForMQMsg(DefaultUrl, MQLoginId.ToString(), Password);
         mqPage     = null;
     }
 }
예제 #2
0
 public string GetDesPlatformUrl(string desUrl)
 {
     return(Utils.GetDesPlatformUrlForMQMsg(desUrl, MQLoginId.ToString(), Password.ToString()));
 }