访问京东API,获取结账必要信息。

This commit is contained in:
lyb
2018-08-10 11:02:06 +08:00
parent dad4ab5d73
commit 3bc6608e1f
3 changed files with 6 additions and 10 deletions

View File

@@ -194,6 +194,11 @@ func (c *OrderController) GetOrder(orderID string) (order *model.GoodsOrder, err
}
return order, err
}
func setOrederDetailFee(result map[string]interface{}, order *model.GoodsOrder) {
//var skuTotalPmFee, orderPmFee, skuTotalPmSubsidy, orderPmSubsidy float64
order.BoxFee = jxutils.StandardPrice2Int(utils.MustInterface2Float64(result["packageFee"]))
}
//
func (c *OrderController) onOrderNew(msg map[string]interface{}) (response *elmapi.CallbackResponse) {