return $this->fetch('wap/product/index');
}
return $this->fetch('pc/product/index');
}
public function show(){
$id=input('id/d',0);
$path='<i class="icon icon-right"></i> <a href="/goods/" title="名表中心">名表中心</a>';
$info=$this->model->with('cate')->where('product.id',$id)->find();
$cate = new Category();
$pids=$cate->getParents($info->cate->id);
$list=$cate->where('id','in',$pids)->field('id,name,dir,pid')->order('id asc')->select();
foreach($list as $k=>$v){
if($v['pid']>0){
$path.='<i class="icon icon-right"></i> <a href="/goods/'.$v['dir'].'.html" title="精仿'.$v['name'].'手表">'.$v['name'].'</a>';
}
}
$this->model->where('id',$id)->setInc('views');
$fund=$this->news->where('id',14)->find();
$help=$this->news->where('id',22)->find();
USER | www |
HOME | /home/www |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | www.mbiaohui.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.mbiaohui.com |
SERVER_PORT | 443 |
SERVER_ADDR | 172.16.47.10 |
REMOTE_PORT | 44388 |
REMOTE_ADDR | 54.172.95.106 |
SERVER_SOFTWARE | nginx/1.17.9 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/cvshop/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /goods/241.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/goods/241.html |
SCRIPT_FILENAME | /www/wwwroot/cvshop/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711689567.1712 |
REQUEST_TIME | 1711689567 |
ADDON_PATH | /www/wwwroot/cvshop/addons/ |
MODULE_NAME | index |
ACTION_NAME | show |