$this->assign('list',$list);
$this->assign('id',$id);
$this->assign('nav_id','20');
return $this->fetch();
}
public function detail(){
$id = $this->request->param('id',0);
$newsInfo = Article::get($id);
$newsInfo->setInc('hits');
$newsInfo->save();
$this->assign('newsInfo',$newsInfo);
$info = ArticlePage::where('cate_id',20)->find();
$this->assign('info',$info);
$next = Article::field('id,title')
->where('id','>',$id)
->where('status','=',1)
->where('isdel','=',0)
->where('cate_id',$newsInfo['cate_id'])
PHPSESSID | 3r6cncleih1i9t5tes86guvpgl |
USER | www |
HOME | /home/www |
HTTP_COOKIE | PHPSESSID=3r6cncleih1i9t5tes86guvpgl |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | www.jchjsz.com |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | jchjsz.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.18.111.6 |
REMOTE_PORT | 36312 |
REMOTE_ADDR | 173.232.242.158 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/jchjsz.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | //detail/audobox.com |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/detail/audobox.com |
SCRIPT_FILENAME | /www/wwwroot/jchjsz.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1725758939.274 |
REQUEST_TIME | 1725758939 |
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 |