【功能优化】支付:查询支付订单时,增加 sync 主动轮询,解决支付宝、微信存在延迟的问题

This commit is contained in:
YunaiV
2024-09-24 13:00:46 +08:00
parent a1995c88e8
commit ca1926a732
6 changed files with 26 additions and 18 deletions
+1 -1
View File
@@ -121,7 +121,7 @@
}
state.id = options.id;
const { code, data } = await OrderApi.getOrder(state.id);
const { code, data } = await OrderApi.getOrderDetail(state.id);
if (code !== 0) {
sheep.$helper.toast('无待评价订单');
return;