Commit f489be0e authored by 黄奎's avatar 黄奎
parents 9afbc385 d8eab572
......@@ -175,7 +175,7 @@ namespace TicketSpider.Spiders.ClassInRule
Directory.CreateDirectory(dirpath);
}
var fileBgPath = $"{dirpath}\\{DateTime.Now.Ticks}.png";
var fileBlockPath = $"{dirpath}\\{DateTime.Now.Ticks}.png";
var fileBlockPath = $"{dirpath}\\{DateTime.Now.Ticks + 1}.png";
bgPng.SaveAsFile(fileBgPath, ScreenshotImageFormat.Png);
blockPng.SaveAsFile(fileBlockPath, ScreenshotImageFormat.Png);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment