$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];
ID | 62 |
ALLUSERSPROFILE | C:\ProgramData |
APPDATA | C:\Users\Administrator\AppData\Roaming |
CLIENTNAME | WZ-20230714QZQD |
CommonProgramFiles | C:\Program Files\Common Files |
CommonProgramFiles(x86) | C:\Program Files (x86)\Common Files |
CommonProgramW6432 | C:\Program Files\Common Files |
COMPUTERNAME | IZUU5NHEFKET90Z |
ComSpec | C:\Windows\system32\cmd.exe |
HOMEDRIVE | C: |
HOMEPATH | \Users\Administrator |
LOCALAPPDATA | C:\Users\Administrator\AppData\Local |
LOGONSERVER | \\IZUU5NHEFKET90Z |
NUMBER_OF_PROCESSORS | 2 |
OS | Windows_NT |
Path | C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps; |
PATHEXT | .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC |
PROCESSOR_ARCHITECTURE | AMD64 |
PROCESSOR_IDENTIFIER | Intel64 Family 6 Model 85 Stepping 4, GenuineIntel |
PROCESSOR_LEVEL | 6 |
PROCESSOR_REVISION | 5504 |
ProgramData | C:\ProgramData |
ProgramFiles | C:\Program Files |
ProgramFiles(x86) | C:\Program Files (x86) |
ProgramW6432 | C:\Program Files |
PSModulePath | C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules |
PUBLIC | C:\Users\Public |
SESSIONNAME | RDP-Tcp#4 |
SystemDrive | C: |
SystemRoot | C:\Windows |
TEMP | C:\Users\ADMINI~1\AppData\Local\Temp\1 |
TMP | C:\Users\ADMINI~1\AppData\Local\Temp\1 |
USERDOMAIN | IZUU5NHEFKET90Z |
USERDOMAIN_ROAMINGPROFILE | IZUU5NHEFKET90Z |
USERNAME | Administrator |
USERPROFILE | C:\Users\Administrator |
windir | C:\Windows |
__COMPAT_LAYER | DetectorsWin7 Installer |
HTTP_HOST | dnxny.net |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
REDIRECT_STATUS | 200 |
SERVER_NAME | dnxny.net |
SERVER_PORT | 80 |
SERVER_ADDR | 172.30.51.209 |
REMOTE_PORT | 59264 |
REMOTE_ADDR | 44.220.182.198 |
SERVER_SOFTWARE | nginx/1.15.11 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | D:/dnxny |
DOCUMENT_URI | /index.php |
REQUEST_URI | /ProductShow.asp?ID=62 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/ProductShow.asp&ID=62 |
PATH_TRANSLATED | D:/dnxny |
PATH_INFO | |
SCRIPT_FILENAME | D:/dnxny/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711711568.1705 |
REQUEST_TIME | 1711711568 |
ENTER_NAME | HOME |
APP_PATH | D:\dnxny/app/ |
DS | \ |
PINYIN_DEFAULT | 4096 |
PINYIN_TONE | 2 |
PINYIN_NO_TONE | 4 |
PINYIN_ASCII_TONE | 8 |
PINYIN_NAME | 16 |
PINYIN_KEEP_NUMBER | 32 |
PINYIN_KEEP_ENGLISH | 64 |
PINYIN_UMLAUT_V | 128 |
PINYIN_KEEP_PUNCTUATION | 256 |
QINIU_FUNCTIONS_VERSION | 7.2.7 |
SITEID | 1 |
SITEALIAS | zh |
DEFAULTSITEID | 1 |