修复参数错误情况的崩溃

This commit is contained in:
优雅的母鸡 2023-03-11 00:14:42 +08:00
parent 1f8ec73b0a
commit a7fce532de

View File

@ -73,7 +73,16 @@ namespace 淘宝网址解析
foreach (var item in )
{
var = item.Split("=");
try
{
.Add(new { = [0], = [1] });
}
catch (Exception)
{
Debug.WriteLine($"[Debug]{DateTime.Now}|解析参数错误{e}");
}
if ([0] == "id")
{
+= $"{参数与内容[0]}={参数与内容[1]}";