$data = $model->where('artid', $param['artid'])->page((int)$param['page'], 6)->order('sort desc,id desc')->select()->toArray();
return json($data);
}
public function show()
{
$id = input('id');
$show = Product::where('id=' . $id)->append(['attestation_list'])->find()->toArray();
$show['identifying'] = explode(',', $show['identifying']);
$classy = ProductCate::where('id', $show['artid'])->find();
$newslist = Product::where('artid', $show['artid'])->where('xilie', $show['xilie'])->where('id', '<>', $id)->order('sort desc, id desc')->select();
$this->assign(array(
'show' => $show,
'classy' => $classy,
'newslist' => $newslist,
USER | www |
HOME | /home/www |
HTTP_HOST | sdgyrq.com |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | sdgyrq.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.21.243.221 |
REMOTE_PORT | 59386 |
REMOTE_ADDR | 54.205.238.173 |
SERVER_SOFTWARE | nginx/1.21.4 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/new.sdgyrq.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /index/productdetail/5.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/index/productdetail/5.html |
SCRIPT_FILENAME | /www/wwwroot/new.sdgyrq.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711623767.915 |
REQUEST_TIME | 1711623767 |