diff --git a/business/jxstore/tempop/tempop.go b/business/jxstore/tempop/tempop.go index 93cb562df..570873bc9 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -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 } diff --git a/business/partner/purchase/jdshop/store_sku.go b/business/partner/purchase/jdshop/store_sku.go index 7140a5d22..a192b86b9 100644 --- a/business/partner/purchase/jdshop/store_sku.go +++ b/business/partner/purchase/jdshop/store_sku.go @@ -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) } } }