decode($this->request->get('token')); $ip = Ip::ip(); $key = CacheConstants::getGuideWxSubscribe($ip, $_SERVER['HTTP_USER_AGENT']); if (isset($_SERVER['HTTP_REFERER'])) { $url = $_SERVER['HTTP_REFERER']; Redis::instance()->set($key, $url, 600); LogService::info('GWS:REF:' . $ip . ':' . $url); } else { LogService::notice('GWS:NOREF:' . $ip); } $adminInfo = AdminService::instance()->getAdminConfigModel()->getAdminInfoAll($channel_id); return $this->assign('data', $adminInfo['json']['authorizer_info'])->view->fetch(); } }