if ($this->param['auto_search']) {
$controller = $this->autoFindController($module, $path);
} else {
// 解析控制器
$controller = !empty($path) ? array_shift($path) : null;
}
if ($controller && !preg_match('/^[A-Za-z0-9][\w|\.]*$/', $controller)) {
throw new HttpException(404, 'controller not exists:' . $controller);
}
// 解析操作
$action = !empty($path) ? array_shift($path) : null;
// 解析额外参数
if ($path) {
if ($this->rule->getConfig('url_param_type')) {
$var += $path;
think | { "site_info": { "id": 147, "name": "\u7535\u5b509", "site_url": "www.electric1688.com", "category_id": 0, "anchor_text_type": 1, "seo_title": "electric1688: Unveiling Tech's Limitless Horizons", "seo_description": "Embark on an electrifying journey with electric1688. Immerse yourself in the latest tech breakthroughs, gadget reviews, and futuristic explorations. Join us at the forefront of the digital revolution!", "news_url_prefix": "blogs", "sync_status": 1, "sync_time": 1709965408, "sync_news_num": 2, "news_num": 18, "anchor_text_num": 3, "latest_gathering_time": 0, "created_at": "2023-12-12 10:40:06", "updated_at": "2024-02-21 19:16:56", "deleted_at": 0, "gathering_news_num": 0, "is_complex": 2, "template_id": 1, "is_gathering_timing_update": 2, "gathering_day_update_num": 30, "query_record_time": 1711386014, "record_num": "61,83,64,120,106", "record_median_num": "83", "record_rate": "85.57", "cycle_status": 2, "html_cache": 1, "number": "", "group": "4" } } |
USER | www |
HOME | /home/www |
HTTP_REFERER | http://www.electric1688.com/i/1315-4802-7114.html |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | www.electric1688.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | electric1688.com |
SERVER_PORT | 443 |
SERVER_ADDR | 154.9.25.69 |
REMOTE_PORT | 45238 |
REMOTE_ADDR | 54.204.142.235 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/xbblogshow/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /i/1315-4802-7114.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/i/1315-4802-7114.html |
SCRIPT_FILENAME | /www/wwwroot/xbblogshow/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711727809.6646 |
REQUEST_TIME | 1711727809 |