From 5d37250b5504613e03d570db4fcba3b9bdc35d25 Mon Sep 17 00:00:00 2001 From: gazebo Date: Wed, 13 Mar 2019 16:26:30 +0800 Subject: [PATCH] - utils.Interface2String(result["comment_id"]) --- business/partner/purchase/ebai/order_comment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/partner/purchase/ebai/order_comment.go b/business/partner/purchase/ebai/order_comment.go index 12b0c93ff..2474ad0ca 100644 --- a/business/partner/purchase/ebai/order_comment.go +++ b/business/partner/purchase/ebai/order_comment.go @@ -40,7 +40,7 @@ func (c *PurchaseHandler) RefreshComment(fromTime, toTime time.Time) (err error) orderComment := &model.OrderComment{ VendorOrderID: utils.Interface2String(result["order_id"]), VendorID: model.VendorIDEBAI, - UserCommentID: utils.Interface2String(result["comment_id"]), + UserCommentID: utils.Int64ToStr(utils.MustInterface2Int64(result["comment_id"])), VendorStoreID: utils.Int64ToStr(utils.MustInterface2Int64(result["shop_id"])), TagList: "", Score: int8(utils.MustInterface2Int64(result["service_rating"])),