* 公益详情页* @code String*/public function view(){$id = Request::param('id', 0);$theNews = Db::name($this->table)->where('id', $id)->where('status', 1)->where('deleted', 0)->find();$theCate = Db::name('data_welfare_region')->where('id', $theNews['cate'])->where('status', 1)->where('deleted', 0)->find();$this->assign('theNews',$theNews);$this->assign('title',$theNews["name"].'-'.$theCate["name"].'-公益地图-PA视讯集团');$this->assign('keywords',$theNews["name"]);$this->assign('description',$theNews["remark"]);$this->assign('theCate',$theCate);//上下篇// $preNews = Db::table($this->table)->where('id','<', $theNews["id"])->where('status', 1)->where('deleted', 0)->order('id desc')->find();// $nextNews = Db::table($this->table)->where('id','>', $theNews["id"])->where('status', 1)->where('deleted', 0)->order('id asc')->find();// $this->assign('preNews',$preNews);// $this->assign('nextNews',$nextNews);
| PHPSESSID | f7b89239d9c3c7de5c45edea28fc1ab0 |
| lang | zh-cn |
| USER | www |
| HOME | /home/www |
| HTTP_COOKIE | PHPSESSID=f7b89239d9c3c7de5c45edea28fc1ab0; lang=zh-cn |
| HTTP_ACCEPT_ENCODING | gzip |
| HTTP_ACCEPT | */* |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| PATH_INFO | |
| HTTP_HOST | www.gz-sanli.com |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | gz-sanli.com |
| SERVER_PORT | 80 |
| SERVER_ADDR | 172.16.0.3 |
| REMOTE_PORT | 44508 |
| REMOTE_ADDR | 107.158.255.34 |
| SERVER_SOFTWARE | nginx/1.30.6 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REQUEST_SCHEME | http |
| SERVER_PROTOCOL | HTTP/1.1 |
| DOCUMENT_ROOT | /www/wwwroot/gz-sanli.com/public |
| DOCUMENT_URI | /index.php |
| REQUEST_URI | /map/detail/18 |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | s=/map/detail/18 |
| SCRIPT_FILENAME | /www/wwwroot/gz-sanli.com/public/index.php |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1795917961.1747 |
| REQUEST_TIME | 1795917961 |