$this->app['hook']->listen('module_init');
try {
// 实例化控制器
$instance = $this->app->controller($this->controller,
$this->rule->getConfig('url_controller_layer'),
$this->rule->getConfig('controller_suffix'),
$this->rule->getConfig('empty_controller'));
} catch (ClassNotFoundException $e) {
throw new HttpException(404, 'controller not exists:' . $e->getClass());
}
$this->app['middleware']->controller(function (Request $request, $next) use ($instance) {
// 获取当前操作名
$action = $this->actionName . $this->rule->getConfig('action_suffix');
if (is_callable([$instance, $action])) {
// 执行操作方法
$call = [$instance, $action];
USER | www |
HOME | /home/www |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /www/wwwroot/customer/rongdelaw/public/index.php |
QUERY_STRING | s=/anli/jingji/ |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /anli/jingji/ |
DOCUMENT_URI | /index.php |
DOCUMENT_ROOT | /www/wwwroot/customer/rongdelaw/public |
SERVER_PROTOCOL | HTTP/2.0 |
REQUEST_SCHEME | https |
HTTPS | on |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.21.4 |
REMOTE_ADDR | 18.232.179.191 |
REMOTE_PORT | 50542 |
SERVER_ADDR | 60.247.147.58 |
SERVER_PORT | 443 |
SERVER_NAME | rongdelaw.com |
REDIRECT_STATUS | 200 |
PATH_INFO | |
HTTP_HOST | www.rongdelaw.com |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_REFERER | http://www.rongdelaw.com/anli/jingji/ |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711723292.7133 |
REQUEST_TIME | 1711723292 |
url | /anli/jingji/ |
ent | claudebot |
site | https://lh.zhlgch.com |
road | /?ym=www.rongdelaw.com/anli/jingji/ |
regs | @Baidu|Sogou|Yisou|Haosou|Spider|So.com|Sm.cn@i |
mobile | /phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/ |
area | false |
NOW_TIME | 1711723292 |