From 2f8b057dba5923849d16b3fd08336ca61133eddc Mon Sep 17 00:00:00 2001 From: chenkainan Date: Tue, 1 Apr 2025 17:32:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 2 +- subPackages/order/detail.vue | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index b1b686e..7915570 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -48,7 +48,7 @@ - + diff --git a/subPackages/order/detail.vue b/subPackages/order/detail.vue index 9c4760a..96181d2 100644 --- a/subPackages/order/detail.vue +++ b/subPackages/order/detail.vue @@ -572,7 +572,7 @@ }, '/api/order/applyRefund' ).then(res => { - if (res.code == 1) { + if (res.code == 200) { uni.showToast({ title: '申请成功', icon: 'success' @@ -599,7 +599,7 @@ that.Post({ order_id: id }, '/api/order/closeOrder').then(res => { - if (res.code == 1) { + if (res.code == 200) { uni.showToast({ title: '关闭成功', icon: 'success' @@ -624,7 +624,7 @@ type: "miniprogram", platform: 'miniprogram' }, '/api/pay/unify').then(res => { - if (res.code == 1) { + if (res.code == 200) { uni.requestPayment({ nonceStr: res.data.nonceStr, package: res.data.package, @@ -668,7 +668,7 @@ this.Post({ order_id: this.info.order_id }, '/api/order/confirmPost').then(res => { - if (res.code == 1) { + if (res.code == 200) { uni.showToast({ title: '确认收货成功', icon: 'none'