|
@@ -31,7 +31,7 @@ using TEAMModelOS.SDK.Models.Table;
|
|
|
using static TEAMModelOS.SDK.Models.Teacher;
|
|
|
using PuppeteerSharp;
|
|
|
using Path = System.IO.Path;
|
|
|
-using DocumentFormat.OpenXml.Bibliography;
|
|
|
+using System.Runtime.InteropServices;
|
|
|
|
|
|
namespace TEAMModelOS.FunctionV4.HttpTrigger
|
|
|
{
|
|
@@ -51,17 +51,7 @@ namespace TEAMModelOS.FunctionV4.HttpTrigger
|
|
|
_azureRedis = azureRedis;
|
|
|
_httpClient = httpClient;
|
|
|
}
|
|
|
- /// <summary>
|
|
|
- /// 网页截图参数
|
|
|
- /// </summary>
|
|
|
- public class ScreenshotDto
|
|
|
- {
|
|
|
- public int width { get; set; } = 1920;
|
|
|
- public int height { get; set; } = 1080;
|
|
|
- public string? url { get; set; }
|
|
|
- public List<string> urls { get; set; } = new List<string>();
|
|
|
- public int delay { get; set; }
|
|
|
- }
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// C#使用Puppeteer http://t.zoukankan.com/zhaotianff-p-13528507.html
|
|
|
/// 文档https://learnku.com/docs/puppeteer/3.1.0/class-request/8559
|