From e45eab5980c08520aee01a72224ccdfd12600543 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期三, 15 五月 2024 15:09:07 +0800
Subject: [PATCH] 优化部分接口

---
 IStation.WebApi.SZJT/Handlers/JwtHandler.cs |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/IStation.WebApi.SZJT/Handlers/JwtHandler.cs b/IStation.WebApi.SZJT/Handlers/JwtHandler.cs
index ff633f9..6b8a7ca 100644
--- a/IStation.WebApi.SZJT/Handlers/JwtHandler.cs
+++ b/IStation.WebApi.SZJT/Handlers/JwtHandler.cs
@@ -2,7 +2,7 @@
 using Furion.DataEncryption;
 using Microsoft.AspNetCore.Authorization;
 using Microsoft.AspNetCore.Http;
-
+using Yw.JWT;
 
 namespace IStation.WebApi
 {
@@ -42,6 +42,19 @@
             // 姝ゅ宸茬粡鑷姩楠岃瘉 Jwt token鐨勬湁鏁堟�т簡锛屾棤闇�鎵嬪姩楠岃瘉
 
             // 妫�鏌ユ潈闄愶紝濡傛灉鏂规硶鏄紓姝ョ殑灏变笉鐢� Task.FromResult 鍖呰9锛岀洿鎺ヤ娇鐢� async/await 鍗冲彲
+
+            Yw.Untity.UserRegister.Regist
+                (
+                    UserManager.CorpID,
+                    UserManager.UserID,
+                    UserManager.AdminType,
+                    UserManager.UserName,
+                    UserManager.UserTag,
+                    UserManager.LoginAccountID,
+                    UserManager.LoginTypeID,
+                    UserManager.ProjectID,
+                    UserManager.SoftwareID
+                );
             return Task.FromResult(CheckAuthorzie(httpContext));
         }
 
@@ -58,5 +71,7 @@
                 return true;
             return true;
         }
+
+
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3