web/.vs/Web/v16/.suo | 补丁 | 查看 | 原始文档 | blame | 历史 | |
web/Dao/obj/Debug/Dao.csproj.AssemblyReference.cache | 补丁 | 查看 | 原始文档 | blame | 历史 | |
web/web/GwSp.ashx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
web/.vs/Web/v16/.suoBinary files differ
web/Dao/obj/Debug/Dao.csproj.AssemblyReference.cacheBinary files differ
web/web/GwSp.ashx
@@ -651,8 +651,11 @@ cTPattern.SpID = context.GetString("SpID"); cTPattern.Enabled = context.GetInt("enabled"); cTPattern.Pattern = context.GetString("patternContent"); if (!Regex.IsMatch(o.SpID, "^\\d{6}$")) throw new Exception("账号必须为6位数字!"); string pattern = @"^[A-Za-z0-9]+$"; //判断是字符或数字 //if (!Regex.IsMatch(o.SpID, "^\\d{6}$")) // throw new Exception("账号必须为6位数字!"); if (!Regex.IsMatch(o.SpID, "^[A-Za-z0-9]{6}$")) throw new Exception("账号必须为6位字符或数字!"); if (o.AccessCodeMode == 1) { if (o.DiverterID != 0)