From b34043b9d0c62eff88b14a2689940bea1c39e38e Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期一, 18 八月 2025 09:24:45 +0800
Subject: [PATCH] feat:开发

---
 FlexJobApi.Core/Models/UserServer/Auths/Commands/PasswordLoginCommand.cs |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/FlexJobApi.Core/Models/UserServer/Auths/Commands/PasswordLoginCommand.cs b/FlexJobApi.Core/Models/UserServer/Auths/Commands/PasswordLoginCommand.cs
index 06b7e12..1e5b812 100644
--- a/FlexJobApi.Core/Models/UserServer/Auths/Commands/PasswordLoginCommand.cs
+++ b/FlexJobApi.Core/Models/UserServer/Auths/Commands/PasswordLoginCommand.cs
@@ -13,7 +13,7 @@
     /// 瀵嗙爜鐧诲綍
     /// </summary>
     [Resource([EnumResourceController.Auth], AllowAnonymous = true)]
-    public class PasswordLoginCommand : IRequest<PasswordLoginCommandCallback>
+    public class PasswordLoginCommand : IRequest<LoginCommandCallback>
     {
         /// <summary>
         /// 璐﹀彿
@@ -24,7 +24,6 @@
         /// 瀵嗙爜
         /// </summary>
         [Required]
-        [DataValidation(ValidationTypes.Md5)]
         public string Password { get; set; }
 
         /// <summary>
@@ -41,8 +40,13 @@
     /// <summary>
     /// 瀵嗙爜鐧诲綍缁撴灉
     /// </summary>
-    public class PasswordLoginCommandCallback
+    public class LoginCommandCallback
     {
+        /// <summary>
+        /// 鐢ㄦ埛Id
+        /// </summary>
+        public Guid Id { get; set; }
+
         /// <summary>
         /// 鐢ㄦ埛璁块棶浠ょ墝
         /// </summary>
@@ -53,5 +57,14 @@
         /// </summary>
         public string RefreshToken { get; set; }
 
+        /// <summary>
+        /// 浼氳瘽绉橀挜锛堜粎鐢ㄤ簬寰俊灏忕▼搴忔巿鏉冪櫥褰曪級
+        /// </summary>
+        public string SessionKey { get; set; }
+
+        /// <summary>
+        /// 鏄惁宸茬粦瀹氭墜鏈哄彿锛堜粎鐢ㄤ簬寰俊灏忕▼搴忔巿鏉冪櫥褰曪級
+        /// </summary>
+        public bool IsBindPhoneNumber { get; set; }
     }
 }

--
Gitblit v1.9.1