1
This commit is contained in:
@@ -323,6 +323,10 @@ func createTaoVegetable(ctx *jxcontext.Context, api *tao_vegetable.API, storeSku
|
||||
RichText: utils.String2Pointer(storeSku.Name),
|
||||
AllowAppSale: utils.Int64ToPointer(tao_vegetable.IsAllowAppSale),
|
||||
}
|
||||
// 赠品专区
|
||||
if storeSku.VendorCatID == "175" {
|
||||
sku.MerchantCatCode = utils.String2Pointer("1751")
|
||||
}
|
||||
sku.SkuPicUrls = uploadImg(api, storeSku.SkuID, model.VendorIDTaoVegetable, []string{storeSku.Img, storeSku.Img2, storeSku.Img3, storeSku.Img4, storeSku.Img5, storeSku.DescImg})
|
||||
if sku.SkuPicUrls == nil {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user