yzh
2022-05-10 88c3d1f7bc185f65990a5f14669a51d4d8202e25
充值功能优化,客户表增加余额、订单表增加充值金额
3个文件已修改
7 ■■■■ 已修改文件
web/.vs/Web/v16/.suo 补丁 | 查看 | 原始文档 | blame | 历史
web/Dao/obj/Debug/Dao.csproj.AssemblyReference.cache 补丁 | 查看 | 原始文档 | blame | 历史
web/web/GwSp.ashx 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
web/.vs/Web/v16/.suo
Binary files differ
web/Dao/obj/Debug/Dao.csproj.AssemblyReference.cache
Binary 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)