- ebai部分退款处理消息中的status是int而不是string
This commit is contained in:
@@ -13,7 +13,7 @@ import (
|
||||
// 存储饿百退款订单结账信息
|
||||
func OnFinancialMsg(msg *ebaiapi.CallbackMsg) (err error) {
|
||||
if msg.Cmd == ebaiapi.CmdOrderPartRefund { // 部分退款处理
|
||||
if utils.Interface2String(msg.Body["status"]) == ebaiapi.OrderPartRefundSuccess {
|
||||
if utils.Int64ToStr(utils.MustInterface2Int64(msg.Body["status"])) == ebaiapi.OrderPartRefundSuccess {
|
||||
orderData, err2 := api.EbaiAPI.OrderPartrefundGet(utils.Interface2String(msg.Body["refund_id"]))
|
||||
if err = err2; err == nil {
|
||||
afsOrder := CurPurchaseHandler.AfsOrderDetail2Financial(orderData)
|
||||
|
||||
Reference in New Issue
Block a user