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
Labels
Milestones
New Pull Request
#5
feat: 申请退款接口对接;
Merged
Fox
merged 1 commits from
fox
into
master
2 months ago
Conversation
0
Commits
1
Files Changed
2
2 changed files
with
3 additions
and
4 deletions
Whitespace
Show all changes
Ignore whitespace when comparing lines
Ignore changes in amount of whitespace
Ignore changes in whitespace at EOL
Unified 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'
,
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
(
)
{
/
/
t
o
d
o
uni
.
showModal
(
{
uni
.
showModal
(
{
title
:
'确认申请订单退款嘛?'
,
title
:
'确认申请订单退款嘛?'
,
success
:
e
=>
{
success
:
e
=>
{
if
(
e
.
confirm
)
{
if
(
e
.
confirm
)
{
this
.
$api
(
'r
ollback
Order'
,
{
this
.
$api
(
'r
efund
Order'
,
{
orderId
:
this
.
orderDetail
.
id
,
orderId
:
this
.
orderDetail
.
id
,
}
,
res
=>
{
}
,
res
=>
{
this
.
$emit
(
'done'
)
this
.
$emit
(
'done'
)
Write
Preview
Loading…
Cancel
Save