From c9465709c827d68f243a54609ce691f341306b9d Mon Sep 17 00:00:00 2001
From: liaoxujun@qq.com <liaoxujun@qq.com>
Date: 星期四, 28 九月 2023 14:23:58 +0800
Subject: [PATCH] 员工账号校验必须为电话号码
---
DocumentServiceAPI.Application/UserAndLogin/LogInController.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/DocumentServiceAPI.Application/UserAndLogin/LogInController.cs b/DocumentServiceAPI.Application/UserAndLogin/LogInController.cs
index 1b8bb16..08408a7 100644
--- a/DocumentServiceAPI.Application/UserAndLogin/LogInController.cs
+++ b/DocumentServiceAPI.Application/UserAndLogin/LogInController.cs
@@ -214,7 +214,7 @@
var ad= ITCode.TryValidate(ValidationTypes.PhoneNumber);
if(!ad.IsValid)
{
- throw Oops.Oh("璇疯緭鍏ユ纭殑璐﹀彿");
+ throw Oops.Oh("鍛樺伐璐﹀彿闇�瑕佺敤鐢佃瘽鍙风爜");
}
var count= await db.Queryable<TenantInfo>().Where(x=>x.ItCode==ITCode&&x.IsEn==true&&x.IsDel==false).WithCache(600).CountAsync();
--
Gitblit v1.9.1