11
This commit is contained in:
parent
eb9843dc8b
commit
136650bf9c
@ -103,6 +103,11 @@ namespace MyCode.Project.Services.Implementation
|
||||
{
|
||||
pwd = EncryptHelper.SHA1Hash(request.Password);
|
||||
}
|
||||
|
||||
if (string.IsNullOrWhiteSpace(request.SupplierId) && request.SystemType == 0)
|
||||
{
|
||||
throw new BaseException("供应商类型的账号必须选一个供应商");
|
||||
}
|
||||
SysLogin entity = new SysLogin();
|
||||
if (request.Id.IsEmpty())
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user