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
db83c8af
Commit
db83c8af
authored
Sep 07, 2018
by
wwccw0591
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pc
parent
68c0a290
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ApiConst.php
application/library/Our/ApiConst.php
+1
-1
OrderGoods.php
application/models/DAO/Order/OrderGoods.php
+1
-1
No files found.
application/library/Our/ApiConst.php
View file @
db83c8af
...
@@ -11,7 +11,7 @@ class ApiConst
...
@@ -11,7 +11,7 @@ class ApiConst
const
randLengh
=
8
;
const
randLengh
=
8
;
//10天数秒
//10天数秒
const
tenDaySecond
=
86400
;
const
tenDaySecond
=
86400
0
;
//const tenDaySecond = 300;
//const tenDaySecond = 300;
//一天
//一天
const
oneDaySecond
=
86400
;
const
oneDaySecond
=
86400
;
...
...
application/models/DAO/Order/OrderGoods.php
View file @
db83c8af
...
@@ -140,7 +140,7 @@ class OrderGoodsModel extends \DAO\AbstractModel {
...
@@ -140,7 +140,7 @@ class OrderGoodsModel extends \DAO\AbstractModel {
public
function
getRefundOrderGoodsIds
(
$orderGoods
){
public
function
getRefundOrderGoodsIds
(
$orderGoods
){
$orderGoods
=
array_values
(
$orderGoods
);
$orderGoods
=
array_values
(
$orderGoods
);
for
(
$i
=
ApiConst
::
zero
;
$i
<
count
(
$orderGoods
);
$i
++
){
for
(
$i
=
ApiConst
::
zero
;
$i
<
count
(
$orderGoods
);
$i
++
){
if
(
$orderGoods
[
$i
][
'
isRefund'
]
==
ApiConst
::
refundSuccess
){
if
(
$orderGoods
[
$i
][
'
refundId'
]
==
ApiConst
::
zero
){
unset
(
$orderGoods
[
$i
]);
unset
(
$orderGoods
[
$i
]);
}
}
}
}
...
...
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