feat: 完成支持微信扫码功能

This commit is contained in:
ccnetcore
2025-08-27 23:42:46 +08:00
parent 28fcd6c9ce
commit b768bca638
21 changed files with 618 additions and 17 deletions

View File

@@ -19,12 +19,14 @@ namespace Yi.Framework.Rbac.Domain.Entities
{
}
public UserAggregateRoot(string userName, string password, long? phone, string? email, string? nick = null)
public UserAggregateRoot(string userName, string password, long? phone, string? email, string? nick = null,
string? icon = null)
{
UserName = userName;
EncryPassword.Password = password;
Phone = phone;
Email = email;
Icon = icon;
Nick = string.IsNullOrWhiteSpace(nick) ? "萌新-" + userName : nick.Trim();
BuildPassword();
}