public function imgList()
{
//默认照片是第一级的所有照片
$imgList = Db::name('news_class')->where('rid',13)->where('class_id',in,'17')->select();
// halt($imgList);
$this->assign('imgList',$imgList);
return $this->fetch('proudect/index');
}
//左侧列表二级分类
public function list($id,Request $request)
{
// echo $id;die;
$config['type']='bootstrap';
$equipment = Db::name('news')
->where('rid',13)
->order('list_order desc')
->select();
//获取url地址传过来的id来判断是第几级分类
$l_id = $request->param('id');
USER | www |
HOME | /home/www |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /www/wwwroot/hbcxzc.com/enpc/public/index.php |
QUERY_STRING | |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /enpc/public/index.php |
REQUEST_URI | /enpc/public/index.php/home/proudect/index.html |
DOCUMENT_URI | /enpc/public/index.php/home/proudect/index.html |
DOCUMENT_ROOT | /www/wwwroot/hbcxzc.com |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_SCHEME | http |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.22.1 |
REMOTE_ADDR | 44.204.117.57 |
REMOTE_PORT | 49062 |
SERVER_ADDR | 192.168.2.88 |
SERVER_PORT | 80 |
SERVER_NAME | hbcxzc.com |
REDIRECT_STATUS | 200 |
PATH_INFO | /home/proudect/index.html |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | hbcxzc.com |
PHP_SELF | /enpc/public/index.php/home/proudect/index.html |
REQUEST_TIME_FLOAT | 1711704459.0964 |
REQUEST_TIME | 1711704459 |
__PHYSICS__ | /www/wwwroot/hbcxzc.com/enpc |