fix: 修改获取订单状态接口,修改数据统计充值统计增加充值退款金额

This commit is contained in:
2025-03-19 11:33:34 +08:00
parent 4a4a9b7ed6
commit 35cfc10e81
4 changed files with 62 additions and 21 deletions

View File

@@ -135,11 +135,11 @@ export default {
clearInterval(this.timer);
},
async getOrderDetail() {
const res = await orderApi.getHistoryList({
const res = await payApi.queryOrderStatus({
shopId: localStorage.getItem("shopId"),
orderId: this.order.id,
});
if (res.status == "done") {
if (res != "unpaid") {
this.clear();
this.$emit("paySuccess");
}