Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenchuanwen
my-yaf-project
Commits
cbe3d2b3
Commit
cbe3d2b3
authored
Sep 11, 2018
by
wwccw0591
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pc
parent
7ea78340
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
ApiConst.php
application/library/Our/ApiConst.php
+1
-1
RefundReturn.php
application/models/DAO/Order/RefundReturn.php
+5
-1
No files found.
application/library/Our/ApiConst.php
View file @
cbe3d2b3
...
@@ -176,7 +176,7 @@ class ApiConst
...
@@ -176,7 +176,7 @@ class ApiConst
const
pastWaitEvaluation
=
2
;
const
pastWaitEvaluation
=
2
;
const
canRefundDay
=
3
;
const
canRefundDay
=
3
;
const
byselfRfundDay
=
1
;
const
goodsTypeFour
=
4
;
const
goodsTypeFour
=
4
;
...
...
application/models/DAO/Order/RefundReturn.php
View file @
cbe3d2b3
...
@@ -228,7 +228,11 @@ class RefundReturnModel extends \DAO\AbstractModel {
...
@@ -228,7 +228,11 @@ class RefundReturnModel extends \DAO\AbstractModel {
break
;
break
;
//已收货
//已收货
case
ApiConst
::
orderStateComplete
:
case
ApiConst
::
orderStateComplete
:
$order_refund
=
ApiConst
::
canRefundDay
;
//15:收货完成后可以申请退款退货
if
(
$order
[
'shippingType'
]
==
ApiConst
::
express
){
$order_refund
=
ApiConst
::
canRefundDay
;
}
else
{
$order_refund
=
ApiConst
::
byselfRfundDay
;
}
if
(
$order
[
'delayTime'
]
>
ApiConst
::
zero
){
if
(
$order
[
'delayTime'
]
>
ApiConst
::
zero
){
$delay_time
=
$order
[
'delayTime'
]
+
60
*
60
*
24
*
$order_refund
;
$delay_time
=
$order
[
'delayTime'
]
+
60
*
60
*
24
*
$order_refund
;
}
else
{
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment