Commit 8eada3e3 authored by hujun's avatar hujun

$rule_data

parent aed28fe8
......@@ -59,7 +59,7 @@ class VipService
}
$rule_data = $this->redisCache->authCache($name);
if (empty($auth_group_id)) {
if (empty($rule_data)) {
$fields = 'id';
$auth_rule_id = $this->rulesModel->getAuthRuleByName($name, $fields);
} else {
......@@ -126,7 +126,7 @@ class VipService
}
$rule_data = $this->redisCache->authCache($name);
if (empty($auth_group_id)) {
if (empty($rule_data)) {
$auth_rule_id = $this->rulesModel->getAuthRuleByName($name, 'id');
} else {
$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