$sign = $this->request->param('sign');
$page = $this->request->param('page');
//dump($sign);
//dump($page);
//判断lid状态
if (!$sign){
return $this->error('栏目参数错误');
}
//读取栏目信息
$info = ColumnList::where('sign',$sign)->find()->toArray();
$templete = '';
switch ($info['type']){
case 1:
$templete = $info['list_html'];
break;
case 2:
$templete = $info['single_html'];
break;
case 3:
SiteID | 206 |
ADID | 1 |
URL | http://1lctl.sinoroots.com.cn |
USER | www |
HOME | /home/www |
HTTP_HOST | www.qd-china.cn |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.qd-china.cn |
SERVER_PORT | 80 |
SERVER_ADDR | 172.21.203.254 |
REMOTE_PORT | 60308 |
REMOTE_ADDR | 34.227.191.136 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /mnt/wwwroot/temporary.qd-china.cn/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /ADClick.aspx?SiteID=206&ADID=1&URL=http://1lctl.sinoroots.com.cn |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/ADClick.aspx&SiteID=206&ADID=1&URL=http://1lctl.sinoroots.com.cn |
SCRIPT_FILENAME | /mnt/wwwroot/temporary.qd-china.cn/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711677156.8421 |
REQUEST_TIME | 1711677156 |
FILTER_VALIDATE_BOOL | 258 |