From d47565bee39818a5bed69696d151c018473f0f08 Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期四, 15 八月 2024 11:10:17 +0800
Subject: [PATCH] 调整登录流程。完成登录测试,登录OK
---
cylsg/cylsg.Model/UserModel/User.cs | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/cylsg/cylsg.Model/UserModel/User.cs b/cylsg/cylsg.Model/UserModel/User.cs
index 4ad793f..ca8d82c 100644
--- a/cylsg/cylsg.Model/UserModel/User.cs
+++ b/cylsg/cylsg.Model/UserModel/User.cs
@@ -15,7 +15,7 @@
/// </summary>
[Description("鐢ㄦ埛妯″瀷")]
[CoderFirst]
- public class User:BaseModelBase
+ public class User: BaseModel
{
/// <summary>
/// 鐢ㄦ埛Id
@@ -26,7 +26,7 @@
/// <summary>
/// 鐢佃瘽
/// </summary>
- [SugarColumn(ColumnDescription = "鐢佃瘽")]
+ [SugarColumn(ColumnDescription = "鐢佃瘽", IsNullable = true)]
public string Phone { get; set; }
/// <summary>
@@ -43,25 +43,25 @@
/// <summary>
/// 鏄电О
/// </summary>
- [SugarColumn(ColumnDescription = "鏄电О", Length = 100)]
- public string Nickname { get; set; }
+ [SugarColumn(ColumnDescription = "鏄电О", Length = 100, IsNullable =true)]
+ public string? Nickname { get; set; }
/// <summary>
/// 瀵嗙爜
/// </summary>
- [SugarColumn(ColumnDescription = "瀵嗙爜", Length = 100)]
- public string PassWord { get; set; }
+ [SugarColumn(ColumnDescription = "瀵嗙爜", Length = 100,IsNullable = true)]
+ public string? PassWord { get; set; }
/// <summary>
/// 澶村儚鍦板潃
/// </summary>
- [SugarColumn(ColumnDescription = "澶村儚鍦板潃")]
- public string Avatar { get; set; }
+ [SugarColumn(ColumnDescription = "澶村儚鍦板潃" ,IsNullable =true)]
+ public string? Avatar { get; set; }
/// <summary>
- /// 寰俊APPID
+ /// 寰俊WxOpenId
/// </summary>
- [SugarColumn(ColumnDescription = "WxAppId",Length =30)]
- public string? WxAppId { get; set; }
+ [SugarColumn(ColumnDescription = "WxOpenId", Length =100,IsNullable = true)]
+ public string? WxOpenId { get; set; }
}
}
--
Gitblit v1.9.1