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
09aa79ce
Commit
09aa79ce
authored
Sep 22, 2018
by
wwccw0591
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pc
parent
215bedb5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
ApiConst.php
application/library/Our/ApiConst.php
+2
-0
RefundReturn.php
application/models/DAO/Order/RefundReturn.php
+7
-0
No files found.
application/library/Our/ApiConst.php
View file @
09aa79ce
...
...
@@ -174,6 +174,8 @@ class ApiConst
const
shippingStatusSendingFail
=
4
;
//平台介入
const
platIn
=
1
;
const
platAgree
=
1
;
const
platRefuse
=
2
;
const
platNotIn
=
0
;
//平台介入中
const
platProccess
=
2
;
...
...
application/models/DAO/Order/RefundReturn.php
View file @
09aa79ce
...
...
@@ -184,6 +184,12 @@ class RefundReturnModel extends \DAO\AbstractModel {
if
(
$returnRefund
[
'isSucRefund'
]
==
ApiConst
::
refundSuccess
){
return
OrderConst
::
refoundSuccess
;
}
if
(
$returnRefund
[
'platformState'
]
==
ApiConst
::
platAgree
){
return
OrderConst
::
platFormAgree
;
}
if
(
$returnRefund
[
'platformState'
]
==
ApiConst
::
platRefuse
){
return
OrderConst
::
platFormRefuse
;
}
if
(
$returnRefund
[
'isPlatformIn'
]
==
ApiConst
::
platIn
){
return
OrderConst
::
platFromProccess
;
}
...
...
@@ -193,6 +199,7 @@ class RefundReturnModel extends \DAO\AbstractModel {
if
(
$returnRefund
[
'refundType'
]
==
ApiConst
::
refundTypeGoods
){
return
OrderConst
::
sellerRefuseGoods
;
}
}
}
else
{
return
OrderConst
::
refoundSuccess
;
...
...
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