This commit is contained in:
余宇波 2025-07-15 11:21:00 +08:00
parent eb9843dc8b
commit 136650bf9c

View File

@ -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())
{