fix(shop): 修复支付回调状态判断逻辑,确保订单状态更新

- 将支付成功状态判断由字符串比较改为枚举值比较
- 使用 Transaction.TradeStateEnum.SUCCESS 替代 "支付成功" 字符串判断
- 避免因状态描述字符串不一致导致支付回调处理失败
- 保证支付成功后订单状态能够正确更新
This commit is contained in:
2026-04-13 02:14:34 +08:00
parent 701a135edd
commit 9297d13045
3 changed files with 18 additions and 2 deletions

View File

@@ -35,5 +35,5 @@
}
]
},
"lastUpdated": 1776002597201
"lastUpdated": 1776017110068
}