From 066b9e391a8d71800927978db9f856c8bc8387d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 14 Sep 2020 17:47:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B6=8512=E5=B0=8F=E6=97=B6=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E5=94=AE=E5=90=8E=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/purchase/jdshop/callback.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/partner/purchase/jdshop/callback.go b/business/partner/purchase/jdshop/callback.go index 9d225d05e..024c0f558 100644 --- a/business/partner/purchase/jdshop/callback.go +++ b/business/partner/purchase/jdshop/callback.go @@ -157,7 +157,7 @@ func result2Orders(msg *jdshopapi.CallBackResult) (order *model.GoodsOrder, err for _, storeSku := range storeSkuList { shopPriceSum += storeSku.Price } - if shopPriceSum+700 > order.TotalShopMoney { + if shopPriceSum+700 > int(order.TotalShopMoney) { } }