From d789099e9dc45e7fa3ee0eb73ee97f80b1963466 Mon Sep 17 00:00:00 2001 From: CB2-20200827ONU\Administrator <liaoxujun@qq.com> Date: 星期五, 08 十月 2021 09:23:47 +0800 Subject: [PATCH] no message --- CY_ECommercePlatform/CY.Infrastructure/Common/MyConvert.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/CY_ECommercePlatform/CY.Infrastructure/Common/MyConvert.cs b/CY_ECommercePlatform/CY.Infrastructure/Common/MyConvert.cs index 2b74b74..8e95f1d 100644 --- a/CY_ECommercePlatform/CY.Infrastructure/Common/MyConvert.cs +++ b/CY_ECommercePlatform/CY.Infrastructure/Common/MyConvert.cs @@ -752,7 +752,7 @@ /// <param name="param">鏄痶rue </param> public static bool isMobileNumber(this object param) { - Regex regex = new Regex("(^1[3|5|8][0-9]{9}$)"); + Regex regex = new Regex("(^[0-9]{11}$)"); if (string.IsNullOrEmpty(param.ToString2())) return false; -- Gitblit v1.9.1