From 33945d41eee38d81adedb79a91a80a383c5c0304 Mon Sep 17 00:00:00 2001 From: AnonymousDotNet <18776095145@163.com> Date: Wed, 23 Oct 2024 16:14:25 +0800 Subject: [PATCH] fix: Set default values --- src/Infrastructure/BotSharp.Abstraction/Users/Models/User.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Infrastructure/BotSharp.Abstraction/Users/Models/User.cs b/src/Infrastructure/BotSharp.Abstraction/Users/Models/User.cs index 7ed9c02d..0baa7457 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Users/Models/User.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Users/Models/User.cs @@ -21,7 +21,7 @@ public class User public string Role { get; set; } = UserRole.User; public string? VerificationCode { get; set; } public bool Verified { get; set; } - public string? RegionCode { get; set; } + public string RegionCode { get; set; } = "CN"; public string? AffiliateId { get; set; } public string? EmployeeId { get; set; } public bool IsDisabled { get; set; }