From a4139771f09730b92fbb1672acc53e60987acee5 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期四, 01 六月 2023 20:51:25 +0800
Subject: [PATCH] 生产入库有源单接口修改

---
 VueWebApi/Global.asax.cs |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/VueWebApi/Global.asax.cs b/VueWebApi/Global.asax.cs
index d73a7fa..c4f008b 100644
--- a/VueWebApi/Global.asax.cs
+++ b/VueWebApi/Global.asax.cs
@@ -1,3 +1,4 @@
+using log4net.Config;
 using System;
 using System.Collections.Generic;
 using System.IO;
@@ -23,6 +24,10 @@
             this.PostAuthenticateRequest += (sender, e) => HttpContext.Current.SetSessionStateBehavior(SessionStateBehavior.Required);
             base.Init();
         }
+        void Session_Start(object sender, EventArgs e)
+        {
+            string sessionId = Session.SessionID;
+        }
         protected void Application_Start()
         {
             AreaRegistration.RegisterAllAreas();
@@ -37,5 +42,6 @@
             //XmlConfigurator.Configure();
             log4net.Config.XmlConfigurator.Configure(new FileInfo(Server.MapPath("~/log4net.config")));
         }
+
     }
 }

--
Gitblit v1.9.3