aa
This commit is contained in:
@@ -263,5 +263,10 @@ func orderSkus2AfsSkus(refundSkuList []*model.OrderSku) (removeSkuList []*ebaiap
|
||||
}
|
||||
|
||||
func (c *PurchaseHandler) GetOrderAfsInfo(ctx *jxcontext.Context, vendorOrderID, afsOrderID string) (orderAfsInfo *partner.OrderAfsInfo, err error) {
|
||||
orderAfsInfo = &partner.OrderAfsInfo{}
|
||||
if result, err := api.EbaiAPI.OrderPartRefundGet(vendorOrderID); err == nil {
|
||||
orderAfsInfo.VendorOrderID = vendorOrderID
|
||||
orderAfsInfo.AfsTotalShopMoney = utils.MustInterface2Int64(result["shop_fee"])
|
||||
}
|
||||
return orderAfsInfo, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user