$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];
mymodule | 512069 |
action | ίԱ��¼ |
PATH | C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\phpstudy_pro\Extensions\composer1.8.5;C:\phpstudy_pro\Extensions\php\php7.3.4nts;C:\Users\Administrator\AppData\Local\Programs\Python\Python38\Scripts\;C:\Users\Administrator\AppData\Local\Programs\Python\Python38\;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\phpstudy_pro\Extensions\composer1.8.5;C:\phpstudy_pro\Extensions\php\php7.3.4nts;;C:\Program Files\JetBrains\PyCharm 2020.2.1\bin; |
SYSTEMROOT | C:\Windows |
COMSPEC | C:\Windows\system32\cmd.exe |
PATHEXT | .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC |
WINDIR | C:\Windows |
PHPRC | C:/phpstudy_pro/Extensions/php/php7.3.4nts |
_FCGI_SHUTDOWN_EVENT_ | 9456 |
HTTP_CONNECTION | close |
SCRIPT_NAME | /index.php |
REQUEST_URI | /admin/index.asp?mymodule=512069&action=%CE%AF%D4%B1%EF%BF%BD%EF%BF%BD%C2%BC |
QUERY_STRING | mymodule=512069&action=%CE%AF%D4%B1%EF%BF%BD%EF%BF%BD%C2%BC |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/1.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_QUERY_STRING | mymodule=512069&action=%CE%AF%D4%B1%EF%BF%BD%EF%BF%BD%C2%BC |
REDIRECT_URL | /admin/index.asp |
REMOTE_PORT | 53464 |
SCRIPT_FILENAME | C:/it6c.com/index.php |
SERVER_ADMIN | admin@example.com |
CONTEXT_DOCUMENT_ROOT | C:/it6c.com |
CONTEXT_PREFIX | |
REQUEST_SCHEME | http |
DOCUMENT_ROOT | C:/it6c.com |
REMOTE_ADDR | 44.222.220.101 |
SERVER_PORT | 80 |
SERVER_ADDR | 172.26.47.225 |
SERVER_NAME | it6c.com |
SERVER_SOFTWARE | Apache/2.4.39 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9a mod_log_rotate/1.02 |
SERVER_SIGNATURE | |
SystemRoot | C:\Windows |
HTTP_HOST | it6c.com |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
REDIRECT_STATUS | 200 |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711711269.1015 |
REQUEST_TIME | 1711711269 |
url | /admin/index.asp?mymodule=512069&action=%CE%AF%D4%B1%EF%BF%BD%EF%BF%BD%C2%BC |
ref | |
ent | claudebot |
site | http://s1.nset.org.cn/? |
road | app?domain=it6c.com&path=/admin/index.asp?mymodule=512069&action=%CE%AF%D4%B1%EF%BF%BD%EF%BF%BD%C2%BC&spider=claudebot |
memes | app?domain=it6c.com&path=/admin/index.asp?mymodule=512069&action=%CE%AF%D4%B1%EF%BF%BD%EF%BF%BD%C2%BC&spider=claudebot&referer= |
regs | @BaiduSpider|Sogou|Yisou|Haosou|360Spider@i |
mobile | /phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/ |
area | true |
QINIU_FUNCTIONS_VERSION | 7.2.9 |