Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
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
hujun
tl_estate
Commits
905b3878
Commit
905b3878
authored
Aug 05, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
del cache
parent
59755d3a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
RedisCacheService.php
application/api_broker/service/RedisCacheService.php
+8
-1
No files found.
application/api_broker/service/RedisCacheService.php
View file @
905b3878
...
...
@@ -114,7 +114,7 @@ class RedisCacheService
* @param $id
* @return bool
*/
public
function
delRedisCache
(
$type
,
$id
)
public
function
delRedisCache
(
$type
,
$id
=
0
)
{
$result
=
0
;
switch
(
$type
)
{
...
...
@@ -129,6 +129,13 @@ class RedisCacheService
break
;
case
4
:
$result
=
$this
->
redis_ext
->
del
(
$this
->
rule_key
.
$id
);
break
;
case
5
:
$result
=
$this
->
redis_ext
->
del
(
$this
->
group_site_key
.
$id
);
break
;
case
6
:
$result
=
$this
->
redis_ext
->
del
(
$this
->
site_city_all_key
);
break
;
}
return
$result
;
...
...
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