aa
This commit is contained in:
@@ -1786,7 +1786,7 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
||||
if stock != 0 {
|
||||
api.JdShop2API.StoreUpdateStock(stock, v.JdsID, "1000063128")
|
||||
}
|
||||
api.JdShop2API.StoreUpdatePrice(int(jxutils.IntPrice2Standard(int64(price))), v.JdsID, "1000063128")
|
||||
api.JdShop2API.StoreUpdatePrice(utils.Float64ToStr(jxutils.IntPrice2Standard(int64(price))), v.JdsID, "1000063128")
|
||||
} else {
|
||||
continue
|
||||
}
|
||||
|
||||
@@ -508,7 +508,7 @@ func (p *PurchaseHandler) UpdateStoreSkusPrice(ctx *jxcontext.Context, vendorOrg
|
||||
// null
|
||||
} else {
|
||||
if vendorSkuID, err := getMainStoreVendorSkuID(model.JdShopMainStoreID2, v.SkuID); err == nil {
|
||||
err = api.JdShop2API.StoreUpdatePrice(utils.Float64TwoInt(jxutils.IntPrice2Standard(v.VendorPrice)), vendorSkuID, vendorStoreID)
|
||||
err = api.JdShop2API.StoreUpdatePrice(utils.Float64ToStr(jxutils.IntPrice2Standard(v.VendorPrice)), vendorSkuID, vendorStoreID)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user