智云SRM-LAYUI(夏宝服务器版本)
王 垚
2021-12-30 c0ffc62e0ef312c5a6e9a2bcad3b83c0ce092130
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Routing;
using System.Web.Security;
using WebSRM;
 
namespace WebSRM
{
    public class Global : HttpApplication
    {
        void Application_Start(object sender, EventArgs e)
        {
            // 在应用程序启动时运行的代码
            AuthConfig.RegisterOpenAuth();
            RouteConfig.RegisterRoutes(RouteTable.Routes);
        }
 
        void Application_End(object sender, EventArgs e)
        {
            //  在应用程序关闭时运行的代码
 
        }
 
        void Application_Error(object sender, EventArgs e)
        {
            // 在出现未处理的错误时运行的代码
 
        }
    }
}