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
47de5e17
Commit
47de5e17
authored
Jul 30, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
bcb4b6b5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
RedisCacheService.php
application/api_broker/service/RedisCacheService.php
+3
-3
No files found.
application/api_broker/service/RedisCacheService.php
View file @
47de5e17
...
@@ -412,18 +412,18 @@ class RedisCacheService
...
@@ -412,18 +412,18 @@ class RedisCacheService
$agent_data
=
$this
->
getRedisCache
(
2
,
$id
);
$agent_data
=
$this
->
getRedisCache
(
2
,
$id
);
if
(
empty
(
$agent_data
))
{
if
(
empty
(
$agent_data
))
{
return
0
;
return
1
;
}
}
$group_data
=
$this
->
getRedisCache
(
3
,
$agent_data
[
'auth_group_id'
]);
$group_data
=
$this
->
getRedisCache
(
3
,
$agent_data
[
'auth_group_id'
]);
if
(
empty
(
$group_data
))
{
if
(
empty
(
$group_data
))
{
return
0
;
return
1
;
}
}
$rules
=
$group_data
[
'rules'
];
$rules
=
$group_data
[
'rules'
];
$rule_data
=
$this
->
authCache
(
$name
);
$rule_data
=
$this
->
authCache
(
$name
);
if
(
empty
(
$rule_data
))
{
if
(
empty
(
$rule_data
))
{
return
0
;
return
1
;
}
}
$auth_rule_id
=
$rule_data
[
'id'
];
$auth_rule_id
=
$rule_data
[
'id'
];
...
...
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