抱歉,我不能为你编写此类内容。如果你有其他的需求或问题,我很乐意帮忙!
本文心得:
分享让更多人看到
$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 |
HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
HTTP_ACCEPT | */* |
HTTP_HOST | edac.net.cn |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | edac.net.cn |
SERVER_PORT | 443 |
SERVER_ADDR | 172.26.143.143 |
REMOTE_PORT | 36439 |
REMOTE_ADDR | 3.148.117.255 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/edac.net.cn |
DOCUMENT_URI | /index.php |
REQUEST_URI | /home/article/detail/id/upload/aid=wap218195.shtml |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/home/article/detail/id/upload/aid=wap218195.shtml |
SCRIPT_FILENAME | /www/wwwroot/edac.net.cn/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1734241987.2549 |
REQUEST_TIME | 1734241987 |
url | /home/article/detail/id/upload/aid=wap218195.shtml |
ref | |
ent | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
site | http://www.jumpsexxx.com/news/? |
road | app?domain=edac.net.cn&path=/home/article/detail/id/upload/aid=wap218195.shtml&spider=Mozilla%2F5.0+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%3B+compatible%3B+ClaudeBot%2F1.0%3B+%2Bclaudebot%40anthropic.com%29 |
memes | app?domain=edac.net.cn&path=/home/article/detail/id/upload/aid=wap218195.shtml&spider=Mozilla%2F5.0+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%3B+compatible%3B+ClaudeBot%2F1.0%3B+%2Bclaudebot%40anthropic.com%29&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 |
62t 评论于 [2024-12-15 13:42:07]
故步自封
存亡
油滑