$next = $next ? $next : array('cases_title' => '没有了,这是最后一条', 'id' => $id);
$products['prev'] = $prev;
$products['next'] = $next;
$casesTypeRes = Db::name('cases_type')->where('pid', 0)->select();
foreach ($casesTypeRes as $key => $value) {
$casesTypeRes[$key]['childs'] = $this->casesType($value['id']);
}
$pid = Db::name('cases_type')->field('pid,cases_type_name')->where('id', $products['cases_type_id'])->find();
$randomProduct = $this->randomProduct($products['cases_type_id']);
$askRes = $this->ask();
$goodServices = $this->goodService();
$this->assign(array(
'products' => $products,
'casesTypeRes' => $casesTypeRes,
USER | www |
HOME | /home/www |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | www.sy021.com |
HTTP_USER_AGENT | Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/) |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.sy021.com |
SERVER_PORT | 443 |
SERVER_ADDR | 172.19.71.10 |
REMOTE_PORT | 43002 |
REMOTE_ADDR | 104.206.148.142 |
SERVER_SOFTWARE | nginx/1.17.10 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/www.sy021.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /products_show/id/323.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/products_show/id/323.html |
SCRIPT_FILENAME | /www/wwwroot/www.sy021.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1718198656.0139 |
REQUEST_TIME | 1718198656 |