1批量类目选择 定向品牌逻辑优化
This commit is contained in:
1 parent
87720c3941
commit
f80e99cf57
16 files changed
+1239
-50
No files matched your search
@@ -549,8 +549,21 @@ namespace TemuKJD.BLL
|
||||
width = 0,
|
||||
height = 0,
|
||||
});
|
||||
}
|
||||
else
|
||||
}
|
||||
else if (frontGallery.type==9 && !string.IsNullOrEmpty(frontGallery.video_url))
|
||||
{
|
||||
//"url": "http://video3.yangkeduo.com/i1/2020-06-06/bec95fd51b79e5c572153f7cb923a1c3.mp4.0_0.p0.jpg",
|
||||
//"video_url": "https://video3.pddpic.com/i1/2020-06-06/bec95fd51b79e5c572153f7cb923a1c3.mp4.f30.mp4",
|
||||
|
||||
prodInfo.detail.galleries.Add(new gallery_item()
|
||||
{
|
||||
url = frontGallery.video_url,
|
||||
type = 6,
|
||||
width = 0,
|
||||
height = 0,
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
//string getImgError;
|
||||
//var image = GetHtml.GetUrlImg(frontGallery.url.Replace("https://", "http://"), out getImgError);
|
||||
@@ -722,7 +735,7 @@ namespace TemuKJD.BLL
|
||||
shipment_limit_second_list = null,
|
||||
sku69_code = "",
|
||||
};
|
||||
if ((int)frontSku.sku_price?.ParseToDecimal() > 0)
|
||||
if (frontSku?.sku_price != null && frontSku.sku_price > 0)
|
||||
skuInfo.multi_price = Math.Min(skuInfo.multi_price.ParseToInt(), (int)frontSku.sku_price.ParseToDecimal());
|
||||
|
||||
//List<string> specIds = frontSku.spec.Split(',').ToList();
|
||||
|
||||
Reference in new issue
Block a user