Browse Source

Merge pull request 'feat: 申请退款接口对接;' (#5) from fox into master

Reviewed-on: http://175.178.51.79:3000/Augcl/massage-front/pulls/5
master
Fox 2 weeks ago
parent
commit
69e6085eb3
2 changed files with 3 additions and 4 deletions
  1. +2
    -2
      api/model/order.js
  2. +1
    -2
      pages_order/order/verifyOrder.vue

+ 2
- 2
api/model/order.js View File

@ -72,8 +72,8 @@ const api = {
/** /**
* 申请退款 * 申请退款
*/ */
rollbackOrder: {
url: '/order/rollbackOrder',
refundOrder: {
url: '/refound/refund',
method: 'POST', method: 'POST',
limit: 500, limit: 500,
auth: true, auth: true,


+ 1
- 2
pages_order/order/verifyOrder.vue View File

@ -97,12 +97,11 @@
}) })
}, },
onRefund() { onRefund() {
// todo
uni.showModal({ uni.showModal({
title: '确认申请订单退款嘛?', title: '确认申请订单退款嘛?',
success: e => { success: e => {
if (e.confirm) { if (e.confirm) {
this.$api('rollbackOrder', {
this.$api('refundOrder', {
orderId: this.orderDetail.id, orderId: this.orderDetail.id,
}, res => { }, res => {
this.$emit('done') this.$emit('done')


Loading…
Cancel
Save