From 9ff87793beacf5069c374b6e6274fa651179a7f3 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 25 九月 2024 13:27:33 +0800
Subject: [PATCH] 提交

---
 cylsg/cylsg.Application/LogoInController.cs |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/cylsg/cylsg.Application/LogoInController.cs b/cylsg/cylsg.Application/LogoInController.cs
index 8521f42..b3a843a 100644
--- a/cylsg/cylsg.Application/LogoInController.cs
+++ b/cylsg/cylsg.Application/LogoInController.cs
@@ -15,6 +15,7 @@
     /// 鐧诲綍
     /// </summary>
     [DynamicApiController]
+    [ApiDescriptionSettings("Default@1")]
     public class LogoIn
     {
         private readonly IWechatService _wechatService;
@@ -47,7 +48,7 @@
             }
             var jwt = new EzJwtModel()
             {
-                ITCode = user.ItCode,
+                //ITCode = user.ItCode, 涓嶅湪鏄庢枃涓娇鐢↖tcode 
                 NickName = user.Nickname,
                 UserID = user.Id,
 
@@ -98,13 +99,13 @@
 
                 };
 
-                await UserRes.EzInsertAsync(user);
+                user.Id = await UserRes.EzInsertReturnIdentityAsync(user);
 
                
             }
             var jwt = new EzJwtModel()
             {
-                ITCode = user.ItCode,
+               // ITCode = user.ItCode,
                 NickName = user.Nickname,
                 UserID = user.Id,
 

--
Gitblit v1.9.1