From af931ce49610c74f54b7364730f35cf0b6268b44 Mon Sep 17 00:00:00 2001 From: gazebo Date: Fri, 20 Sep 2019 10:53:44 +0800 Subject: [PATCH] =?UTF-8?q?-=20ebai=E7=9A=84shop=5Ffee=E7=94=A8ForceInterf?= =?UTF-8?q?ace2Int64?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/purchase/ebai/order.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/partner/purchase/ebai/order.go b/business/partner/purchase/ebai/order.go index 5bb422226..d7c4257d8 100644 --- a/business/partner/purchase/ebai/order.go +++ b/business/partner/purchase/ebai/order.go @@ -188,8 +188,8 @@ func (p *PurchaseHandler) Map2Order(orderData map[string]interface{}) (order *mo StatusTime: getTimeFromInterface(orderMap["create_time"]), OrderCreatedAt: getTimeFromInterface(orderMap["create_time"]), OriginalData: string(utils.MustMarshal(result)), - ActualPayPrice: utils.MustInterface2Int64(orderMap["user_fee"]), - TotalShopMoney: utils.MustInterface2Int64(orderMap["shop_fee"]), + ActualPayPrice: utils.ForceInterface2Int64(orderMap["user_fee"]), + TotalShopMoney: utils.ForceInterface2Int64(orderMap["shop_fee"]), } if utils.IsTimeZero(order.PickDeadline) && !utils.IsTimeZero(order.StatusTime) { order.PickDeadline = order.StatusTime.Add(pickupOrderDelay) // 饿百要求在5分钟内拣货,不然订单会被取消