This commit is contained in:
邹宗楠
2026-01-23 13:47:21 +08:00
parent e54c3d04a8
commit 09e9c310b4
2 changed files with 24 additions and 18 deletions

View File

@@ -332,7 +332,8 @@ func (c *PurchaseHandler) callbackAfsMsg2Status(msg *mtwmapi.CallbackMsg) (order
switch refundData.Status {
case "21", "27", "10", "17":
orderStatus.Status = model.AfsOrderStatusFinished
case "22", "28", "11", "18":
time.Sleep(100 * time.Millisecond)
case "22", "28", "11", "18", "30":
orderStatus.Status = model.AfsOrderStatusFailed
}
orderStatus.VendorStatus += "," + refundData.Status