Commit 47de5e17 authored by hujun's avatar hujun

1

parent bcb4b6b5
...@@ -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'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment