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))