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
7d08ebb4
Commit
7d08ebb4
authored
Nov 26, 2018
by
christ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dilivery
parent
0d4e7ca4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
RedisHelper.php
application/library/Our/RedisHelper.php
+5
-1
Order.php
application/models/DAO/Order/Order.php
+1
-3
No files found.
application/library/Our/RedisHelper.php
View file @
7d08ebb4
...
@@ -87,7 +87,11 @@ class RedisHelper
...
@@ -87,7 +87,11 @@ class RedisHelper
$cache_key
=
(
is_array
(
$function
)
$cache_key
=
(
is_array
(
$function
)
?
(
str_replace
(
'\\'
,
':'
,
get_class
(
$function
[
0
]))
.
'_'
)
?
(
str_replace
(
'\\'
,
':'
,
get_class
(
$function
[
0
]))
.
'_'
)
:
''
)
.
$function_key
.
$extent_key
.
'_'
;
:
''
)
.
$function_key
.
$extent_key
.
'_'
;
$res
=
$cache_instance
->
tableDelAll
(
$cache_instance
->
tableKeys
(
$cache_key
));
if
(
$_POST
[
'data'
][
'debug'
]){
echo
$cache_key
.
"
\r\n
"
;
}
$res
=
$cache_instance
->
tableDelAll
(
$cache_instance
->
tableKeys
(
$cache_key
));
}
else
{
}
else
{
$cache_key
=
(
is_array
(
$function
)
$cache_key
=
(
is_array
(
$function
)
?
(
str_replace
(
'\\'
,
':'
,
get_class
(
$function
[
0
]))
.
'_'
)
?
(
str_replace
(
'\\'
,
':'
,
get_class
(
$function
[
0
]))
.
'_'
)
...
...
application/models/DAO/Order/Order.php
View file @
7d08ebb4
...
@@ -889,9 +889,7 @@ class OrderModel extends \DAO\AbstractModel
...
@@ -889,9 +889,7 @@ class OrderModel extends \DAO\AbstractModel
if
(
is_array
(
$diliverymanId
)){
if
(
is_array
(
$diliverymanId
)){
foreach
(
$diliverymanId
as
$memberId
){
foreach
(
$diliverymanId
as
$memberId
){
if
(
$_POST
[
'data'
][
'debug'
]){
echo
$memberId
.
"
\r\n
"
;
}
$this
->
deleteDeliveryLogCache
(
$memberId
);
$this
->
deleteDeliveryLogCache
(
$memberId
);
}
}
...
...
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