This commit is contained in:
gazebo
2019-03-21 12:13:32 +08:00
parent c2497b089f
commit b47e5db4d1

View File

@@ -387,9 +387,9 @@ func BuildSkuFromEbaiStore(ctx *jxcontext.Context, baiduShopID int64, isAsync, i
} }
qiniuImgURL := "http://image.jxc4.com/" + key + "?imageMogr2/thumbnail/x800/gravity/Center/crop/800x800" qiniuImgURL := "http://image.jxc4.com/" + key + "?imageMogr2/thumbnail/x800/gravity/Center/crop/800x800"
for _, sku := range skuNameExt.Skus { for _, sku := range skuNameExt.Skus {
jdCatID := 20308 // 其他国产水果 jdCatID := 22410 // 其他国产水果
if cat.Name == "进口水果" { if cat.Name == "进口水果" {
jdCatID = 20327 // 其他进口水果 jdCatID = 20342 // 其他进口水果
} }
price := sku.LinkID price := sku.LinkID
sku.LinkID = 0 sku.LinkID = 0