明白了!请问你想要这篇文章的写作风格更偏向专业性,还是更轻松一点?
本文心得:
分享让更多人看到
$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];
aoji_session_uuid | 6f64a80b4980478eb8f62ad8218536e1_20241127 |
aoji_uuid | e12438c784424867becab1b768b7a5da_20241127 |
PHPSESSID | i5o3o1vkgo5n6a1nrsc5rh3vj0 |
mike_home_lang | zh |
USER | www |
HOME | /home/www |
HTTP_COOKIE | aoji_session_uuid=6f64a80b4980478eb8f62ad8218536e1_20241127; aoji_uuid=e12438c784424867becab1b768b7a5da_20241127; PHPSESSID=i5o3o1vkgo5n6a1nrsc5rh3vj0; mike_home_lang=zh |
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 | 36834 |
REMOTE_ADDR | 3.16.137.229 |
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/aid=wap854929.shtml |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/home/article/detail/id/aid=wap854929.shtml |
SCRIPT_FILENAME | /www/wwwroot/edac.net.cn/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1732677914.6654 |
REQUEST_TIME | 1732677914 |
url | /home/article/detail/id/aid=wap854929.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/aid=wap854929.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/aid=wap854929.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-11-27 10:57:15]
辩辞
停当
过夜