This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
Augcl
/
massage-front
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
feat: 申请退款接口对接;
pull/5/head
fox
2 weeks ago
parent
46c5caf0f0
commit
f5b01176b2
2 changed files
with
3 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
api/model/order.js
+1
-2
pages_order/order/verifyOrder.vue
+ 2
- 2
api/model/order.js
View File
@ -72,8 +72,8 @@ const api = {
/
*
*
*
申请退款
*
/
r
ollback
Order
:
{
url
:
'/
order/rollbackOrder
'
,
r
efund
Order
:
{
url
:
'/
refound/refund
'
,
method
:
'POST'
,
limit
:
500
,
auth
:
true
,
+ 1
- 2
pages_order/order/verifyOrder.vue
View File
@ -97,12 +97,11 @@
}
)
}
,
onRefund
(
)
{
/
/
t
o
d
o
uni
.
showModal
(
{
title
:
'确认申请订单退款嘛?'
,
success
:
e
=>
{
if
(
e
.
confirm
)
{
this
.
$api
(
'r
ollback
Order'
,
{
this
.
$api
(
'r
efund
Order'
,
{
orderId
:
this
.
orderDetail
.
id
,
}
,
res
=>
{
this
.
$emit
(
'done'
)
Write
Preview
Loading…
Cancel
Save