fix: 修改获取订单状态接口,修改数据统计充值统计增加充值退款金额
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user