|
|
@ -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' |
|
|
|