$info->category_text = $this->category[$info->category];
$cateid = 'cate' . $info->category;
return $this->view->fetch('info1', compact('info', 'cateid'));
}
public function guestInfo($id)
{
$info = Guest::find($id);
$cateid = $info->type == 1 ? 'cate13' : 'cate14';
$info->category_text = $info->type == 1 ? '嘉宾明星' : '形象大使';
return $this->view->fetch('info2', compact('info', 'cateid'));
}
public function goodsInfo($id)
{
$info = Goods::find($id);
$cateid = 'cate15';
$info->category_text = '艺术商城';
USER | www |
HOME | /home/www |
HTTP_HOST | qnysz.com |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | qnysz.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.19.157.127 |
REMOTE_PORT | 35274 |
REMOTE_ADDR | 44.202.183.118 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/qnysz.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /index/index/guestInfo/id/1 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/index/index/guestInfo/id/1 |
SCRIPT_FILENAME | /www/wwwroot/qnysz.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711675408.3005 |
REQUEST_TIME | 1711675408 |