Commit 987574ca authored by hujun's avatar hujun

//

parent 08d96ded
...@@ -173,9 +173,9 @@ class Basic extends Controller ...@@ -173,9 +173,9 @@ class Basic extends Controller
} }
} }
$agents = new AAgents(); // $agents = new AAgents();
$is_auth = $agents->agentsAuth($auth_id, $this->userId); // $is_auth = $agents->agentsAuth($auth_id, $this->userId);
$is_auth = empty($is_auth['id']) ? 0:1; // $is_auth = empty($is_auth['id']) ? 0:1;
$redis_cache = new RedisCacheService(); $redis_cache = new RedisCacheService();
$agent_data = $redis_cache->getRedisCache(2, $this->userId); $agent_data = $redis_cache->getRedisCache(2, $this->userId);
......
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