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
776ddcdc
Commit
776ddcdc
authored
Dec 09, 2018
by
wwccw0591
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
master_dev
parent
2700fc08
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
ApiConst.php
application/library/Our/ApiConst.php
+2
-0
RefundService.php
application/models/Business/Order/RefundService.php
+5
-0
No files found.
application/library/Our/ApiConst.php
View file @
776ddcdc
...
...
@@ -198,6 +198,8 @@ class ApiConst
const
refundSuccess
=
1
;
const
refundFail
=
0
;
const
isNotSuccessRefund
=
0
;
const
refundCompleted
=
3
;
//是否收到货
const
shippingOver
=
1
;
...
...
application/models/Business/Order/RefundService.php
View file @
776ddcdc
...
...
@@ -750,6 +750,11 @@ class RefundServiceModel extends \Business\AbstractModel
if
(
$value
[
'goodsState'
]
>
ApiConst
::
goodsStateWaitRecieve
){
$value
[
'shippingOver'
]
=
ApiConst
::
shippingOver
;
}
if
(
$value
[
'isSucRefund'
]
==
ApiConst
::
isNotSuccessRefund
&&
(
$value
[
'sellerState'
]
==
ApiConst
::
refundSellerAgree
||
$value
[
'platformState'
]
==
ApiConst
::
platAgree
)
){
$value
[
'markRefundButton'
]
=
ApiConst
::
one
;
}
else
{
$value
[
'markRefundButton'
]
=
ApiConst
::
zero
;;
}
unset
(
$value
[
'goodsSpec'
]);
// unset($value['picInfo']);
}
...
...
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