- utils.Interface2String(result["comment_id"])

This commit is contained in:
gazebo
2019-03-13 16:26:30 +08:00
parent 4a4bd4518b
commit 5d37250b55

View File

@@ -40,7 +40,7 @@ func (c *PurchaseHandler) RefreshComment(fromTime, toTime time.Time) (err error)
orderComment := &model.OrderComment{ orderComment := &model.OrderComment{
VendorOrderID: utils.Interface2String(result["order_id"]), VendorOrderID: utils.Interface2String(result["order_id"]),
VendorID: model.VendorIDEBAI, 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"])), VendorStoreID: utils.Int64ToStr(utils.MustInterface2Int64(result["shop_id"])),
TagList: "", TagList: "",
Score: int8(utils.MustInterface2Int64(result["service_rating"])), Score: int8(utils.MustInterface2Int64(result["service_rating"])),