.netcore 根据图片url地址保存图片
Uri url = new Uri($"https://static.com/wxyt/{dateTime.Year}/{month}/{timeStamp}.jpg");
var client = _httpClientFactory.CreateClient();
var result = client.GetAsync(url).Result;
if (result.StatusCode == HttpStatusCode.OK)
{
var stream = result.Content.ReadAsStream();
var imgs = Image.FromStream(stream);
imgs.Save(excelDirectory + $"/{timeStamp}.jpg");
}