京东商城更新商品,其他肉类不传配送时效
This commit is contained in:
@@ -120,10 +120,13 @@ func (p *PurchaseHandler) UpdateStoreSkus(ctx *jxcontext.Context, storeID int, v
|
|||||||
WareID: v.JdsWareID,
|
WareID: v.JdsWareID,
|
||||||
Title: name,
|
Title: name,
|
||||||
VenderID: jdshopapi.VenderID,
|
VenderID: jdshopapi.VenderID,
|
||||||
PromiseID: jdshopapi.JdsPromiseID,
|
// PromiseID: jdshopapi.JdsPromiseID,
|
||||||
ShopCategorys: []int{utils.Str2Int(v.VendorCatID)},
|
ShopCategorys: []int{utils.Str2Int(v.VendorCatID)},
|
||||||
JdPrice: jxutils.IntPrice2Standard(v.UnitPrice),
|
JdPrice: jxutils.IntPrice2Standard(v.UnitPrice),
|
||||||
}
|
}
|
||||||
|
if v.VendorVendorCatID != jdshopapi.JdsOtherMeatCatID {
|
||||||
|
updateWareParam.PromiseID = jdshopapi.JdsPromiseID
|
||||||
|
}
|
||||||
var desc string
|
var desc string
|
||||||
if v.DescImg != "" {
|
if v.DescImg != "" {
|
||||||
pic3, err2 := uploadImg2(v.DescImg, name, "desc")
|
pic3, err2 := uploadImg2(v.DescImg, name, "desc")
|
||||||
|
|||||||
Reference in New Issue
Block a user