From 33d8a055940ff66bec57ab857ed8ae2638e8b6b1 Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期二, 10 十二月 2024 14:42:26 +0800
Subject: [PATCH] 修改重新支付逻辑,增加因为账户没钱造成的支付失败后重新支付
---
cylsg/cylsg.Model/UserModel/User.cs | 25 +++++++++++++++----------
1 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/cylsg/cylsg.Model/UserModel/User.cs b/cylsg/cylsg.Model/UserModel/User.cs
index e6215eb..739353a 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,37 +26,42 @@
/// <summary>
/// 鐢佃瘽
/// </summary>
- [SugarColumn(ColumnDescription = "鐢佃瘽")]
+ [SugarColumn(ColumnDescription = "鐢佃瘽", ColumnDataType = "nvarchar(30)", IsNullable = true)]
public string Phone { get; set; }
/// <summary>
/// 鍚嶇О
/// </summary>
- [SugarColumn(ColumnDescription = "鍚嶇О",Length =100)]
+ [SugarColumn(ColumnDescription = "鍚嶇О", ColumnDataType = "nvarchar(100)")]
public string name { get; set; }
/// <summary>
/// 鐢佃瘽鍙风爜
/// </summary>
- [SugarColumn(ColumnDescription = "鐢佃瘽鍙风爜", Length = 30)]
+ [SugarColumn(ColumnDescription = "鐢佃瘽鍙风爜", ColumnDataType = "nvarchar(30)")]
public string ItCode { get; set; }
/// <summary>
/// 鏄电О
/// </summary>
- [SugarColumn(ColumnDescription = "鐢ㄦ埛ID", Length = 100)]
- public int Nickname { get; set; }
+ [SugarColumn(ColumnDescription = "鐢ㄦ埛ID", ColumnDataType = "nvarchar(100)", IsNullable = true)]
+ public string? Nickname { get; set; }
/// <summary>
/// 瀵嗙爜
/// </summary>
- [SugarColumn(ColumnDescription = "瀵嗙爜", Length = 100)]
- public int PassWord { get; set; }
+ [SugarColumn(ColumnDescription = "瀵嗙爜", ColumnDataType = "nvarchar(100)", IsNullable = true)]
+ public string? PassWord { get; set; }
/// <summary>
/// 澶村儚鍦板潃
/// </summary>
- [SugarColumn(ColumnDescription = "澶村儚鍦板潃")]
- public int Avatar { get; set; }
+ [SugarColumn(ColumnDescription = "澶村儚鍦板潃", ColumnDataType = "nvarchar(500)", IsNullable = true)]
+ public string? Avatar { get; set; }
+ /// <summary>
+ /// 寰俊WxOpenId
+ /// </summary>
+ [SugarColumn(ColumnDescription = "WxOpenId", ColumnDataType = "nvarchar(100)", IsNullable = true)]
+ public string? WxOpenId { get; set; }
}
}
--
Gitblit v1.9.1