上货上传微信图片优化 优化客服登录速度
This commit is contained in:
1 parent
81d3c2983f
commit
8eab94968e
6 files changed
+35
-6
No files matched your search
@@ -5964,7 +5964,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
public string UploadImg(ShopLoginInfo shop, string img_url, DataGridViewCell cell = null, bool randomBlock = false)
|
||||
{
|
||||
string getImgError;
|
||||
var image = GetHtml.GetUrlImg(img_url.Replace("https://", "http://"), out getImgError);
|
||||
if (!img_url.Contains("wst.wxapp.tc.qq.com") && !img_url.Contains("mmecimage.cn"))
|
||||
img_url = img_url.Replace("https://", "http://");
|
||||
var image = GetHtml.GetUrlImg(img_url, out getImgError);
|
||||
if (image == null)
|
||||
image = new Bitmap(800, 800);
|
||||
var imageBg = new Bitmap(image.Width, image.Height);
|
||||
|
||||
Reference in new issue
Block a user