/// <summary> /// 应用程序启动 /// </summary> protected void Application_Start(object sender, EventArgs e) { System.Net.ServicePointManager.DefaultConnectionLimit = 100; Init(); UserManager.Init(); gmt.Server.Load(); gmt.Server.newLoad(); Log.Start(); Network.Start(); FTPManager.Load(); TableManager.Start(); TextManager.Load(); RevolvingManager.Start(); NoticeManager.Load(); ActivityManger.Start(); ServerListConfig.Load(); GMTActivityMananger.start(); GiftTable.Start(); TimedMailSender.Init(); RevolvingManager.UpdateService(); PayType.LoadPayType(); }
/// <summary> /// 页面载入响应 /// </summary> protected override void OnGmPageLoad() { string appId = Request.QueryString["AppId"]; if (appId != null && appId != "") { string payType = PayType.GetPayTypeByAppId(appId); Response.Write(payType); Response.End(); return; } }