This commit is contained in:
邹宗楠
2025-07-21 17:42:06 +08:00
parent d9cd7833c7
commit 8d8c2d3f7a
4 changed files with 21 additions and 15 deletions

View File

@@ -124,6 +124,10 @@ func (c *PurchaseHandler) onOrderMsg(a *jdapi.API, msg *jdapi.CallbackOrderMsg)
retVal = jdapi.Err2CallbackResponse(err, status.VendorStatus)
}
}
if status.Status == model.OrderStatusFinished {
c.OnFinancialMsg(msg)
jdapi.Err2CallbackResponse(c.updateOrderFinancialInfo(a, msg.BillID), status.VendorStatus)
}
}
return retVal
}
@@ -700,5 +704,5 @@ func (c *PurchaseHandler) GetPlatformLogisticsFee(order *model.GoodsOrder) (int6
// ApplyCompensationOrder 订单索赔
func (c *PurchaseHandler) ApplyCompensationOrder(order *model.GoodsOrder) (string, error) {
return "",nil
return "", nil
}