Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
cailing
9 years ago
Commit
9cfb6353d6ea7ec9db46f955991ec32b0501fb7e
1 parent
659b04e9
再次购买位置调整
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
yohobuy/www.yohobuy.com/application/models/Home/Order.php
yohobuy/www.yohobuy.com/application/models/Home/Order.php
View file @
9cfb635
...
...
@@ -578,6 +578,10 @@ class OrderModel
$exchangeUrl
=
Helpers
::
url
(
'/home/returns/exchangeRequest'
,
array
(
'orderCode'
=>
$orderCode
));
//申请退货
$refundUrl
=
Helpers
::
url
(
'/home/returns/refundrequest'
,
array
(
'orderCode'
=>
$orderCode
));
//再次购买
if
(
$isCancel
==
'Y'
)
{
$operation
[]
=
array
(
'name'
=>
'再次购买'
,
'reBuy'
=>
true
);
}
//立即付款
if
(
$payStatus
==
'N'
&&
$paymentType
!=
2
&&
$isCancel
==
'N'
)
{
$operation
[]
=
array
(
'payNow'
=>
true
,
'href'
=>
$payUrl
);
...
...
@@ -610,10 +614,6 @@ class OrderModel
if
(
$status
>=
6
&&
$time
<
86400
*
$orderRefundLimitTime
&&
$attribute
!=
3
&&
$isCancel
==
'N'
)
{
$operation
[]
=
array
(
'href'
=>
$refundUrl
,
'name'
=>
'申请退货'
,
'optDis'
=>
$opRefundStatus
);
}
//再次购买
if
(
$isCancel
==
'Y'
)
{
$operation
[]
=
array
(
'name'
=>
'再次购买'
,
'reBuy'
=>
true
);
}
return
$operation
;
}
...
...
Please
register
or
login
to post a comment