1拼多多商品分组 2拼多多登录逻辑优化
This commit is contained in:
1 parent
8fb90422a2
commit
378170ffb5
36 files changed
+4272
-736
No files matched your search
@@ -583,7 +583,7 @@ namespace TemuKJD.Extension
|
||||
if (row.Index >= 0 && row.Cells[imgColumn].Value != null && row.Cells[imgColumn].Value != defaultBitmap)
|
||||
continue;
|
||||
|
||||
Image image = null;
|
||||
Image image = defaultBitmap;
|
||||
if (row.Index >= 0)
|
||||
{
|
||||
string imgUrl = row.Cells[imgPathColumn]?.Value.ParseToString();
|
||||
@@ -591,10 +591,12 @@ namespace TemuKJD.Extension
|
||||
imgUrl = imgUrl.Replace("https://", "http://");
|
||||
string getImgError = "";
|
||||
if (!string.IsNullOrWhiteSpace(imgUrl))
|
||||
{
|
||||
image = GetHtml.GetUrlImg(imgUrl, out getImgError);
|
||||
if (!string.IsNullOrEmpty(getImgError))
|
||||
//BaseMsgForm.ShowError("图片加载失败 " + getImgError);
|
||||
image = TemuKJD.Properties.Resources.errpic;
|
||||
if (!string.IsNullOrEmpty(getImgError))
|
||||
//BaseMsgForm.ShowError("图片加载失败 " + getImgError);
|
||||
image = TemuKJD.Properties.Resources.errpic;
|
||||
}
|
||||
}
|
||||
|
||||
try
|
||||
|
||||
Reference in new issue
Block a user