From a3022b7241480fd71dae97443d98f12e313056be Mon Sep 17 00:00:00 2001
From: wzp <2040239371@qq.com>
Date: 星期三, 26 十月 2022 17:22:30 +0800
Subject: [PATCH] 修复24-25日反馈的bug

---
 web/web/GwSp.ashx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/web/web/GwSp.ashx b/web/web/GwSp.ashx
index e38ab31..1ebd2ed 100644
--- a/web/web/GwSp.ashx
+++ b/web/web/GwSp.ashx
@@ -797,8 +797,8 @@
         }
 
         string string2 = context.GetString("patternContent");
-        if (!Regex.IsMatch(o.SpID, "^\\d{6}$"))
-            throw new Exception("璐﹀彿蹇呴』涓�6浣嶆暟瀛�");
+        if (!Regex.IsMatch(o.SpID, "^[0-9a-zA-Z]{6}$"))
+            throw new Exception("璐﹀彿蹇呴』涓�6浣嶆暟瀛楀拰瀛楁瘝");
         if (!string.IsNullOrEmpty(o.AccessCode) && !Regex.IsMatch(o.AccessCode, "^[0-9]*$"))
             throw new Exception("鎵╁睍鍙峰繀椤讳负鏁板瓧");
         if (string.IsNullOrEmpty(o.ClientID))

--
Gitblit v1.9.1