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'