'syjq' => $syjq
]);
}
//列表页
public function lists($id)
{
$data = Category::with('category')->find($id);
//读取列表
$model = $this->get_model($data['model']);
//板材
$bc_lists = [];
if($data['model'] == '52'){
$onebancai = Category::where('pid', $id)->order('sort_order desc')->column('id');
foreach ($onebancai as $k=>$v){
$bc_lists[$k]['head'] = Category::where('id', $v)->field('name,sname,keywords,image,icon')->find()->toArray();
$bc_lists[$k]['title_bar'] = Category::where('pid', $v)->column('id,name,image');
USER | www |
HOME | /home/www |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | www.deformat.com.cn |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.deformat.com.cn |
SERVER_PORT | 443 |
SERVER_ADDR | 172.17.0.9 |
REMOTE_PORT | 48842 |
REMOTE_ADDR | 184.72.135.210 |
SERVER_SOFTWARE | nginx/1.20.2 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/www.deformat.com.cn/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /lists/108.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/lists/108.html |
SCRIPT_FILENAME | /www/wwwroot/www.deformat.com.cn/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711657991.9108 |
REQUEST_TIME | 1711657991 |