feat: 完成支持微信扫码功能
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user