[0] HttpException in Base.php line 86

您要查看的栏目不存在

  1. $tables = ['no','think_product','think_news','think_other','think_page'];
  2. $column = '';//栏目英文名
  3. if (!empty($param['product'])) $column = $param['product'];
  4. if (!empty($param['news'])) $column = $param['news'];
  5. if (!empty($param['other'])) $column = $param['other'];
  6. if(!empty($column)){
  7. $this->category = getCategory($column);//当前栏目详细信息
  8. if(empty($this->category)) throw new \think\exception\HttpException(404, '您要查看的栏目不存在');
  9. $this->table = $tables[$this->category['model']];
  10. }
  11. /*获取栏目信息,判断哪个模型end*/
  12. /*城市英文名start*/
  13. $city_info ='';
  14. $city = '';
  15. if(!empty($param['city']) && $param['city'] != 'index'){
  16. $city = trim($param['city']);

Call Stack

  1. in Base.php line 86
  2. at Base->_initialize() in Controller.php line 59
  3. at Controller->__construct(object(Request))
  4. at ReflectionClass->newInstanceArgs([object(Request)]) in App.php line 359
  5. at App::invokeClass('app\index\controller...') in Loader.php line 479
  6. at Loader::controller('other', 'controller', false, 'Error') in App.php line 581
  7. at App::module(['Index', 'other', 'lists'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  8. at App::exec(['type' => 'module', 'module' => ['Index', 'other', 'lists'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/www/wwwroot/bocai/t...') in index.php line 21

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/bocai/public/index.php
QUERY_STRING
s=//ofxt/
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/ofxt/
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/www/wwwroot/bocai/public
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.12.2
REMOTE_ADDR
154.93.195.17
REMOTE_PORT
20000
SERVER_ADDR
172.31.200.211
SERVER_PORT
80
SERVER_NAME
www.gxnnslcg.com
REDIRECT_STATUS
200
PATH_INFO
//ofxt/
HTTP_USER_AGENT
Mozilla/5.0 (Linux;u;Android 4.2.2;zh-cn;) AppleWebKit/534.46 (KHTMLlikeGecko) Version/5.1 Mobile Safari/10600.6.3 (compatible; Baiduspider/2.0; http://www.baidu.com/search/spider.html)
HTTP_HOST
www.gxnnslcg.com
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate gzip
PHP_SELF
REQUEST_TIME_FLOAT
1566350219.632
REQUEST_TIME
1566350219
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/bocai/public/../application/
UPLOAD_PATH
/www/wwwroot/bocai/public/../public
RUNTIME_PATH
/www/wwwroot/bocai/public/../runtime/
APP_DEBUG
false
THINK_VERSION
5.0.23
THINK_START_TIME
1566350219.6324
THINK_START_MEM
261208
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/bocai/thinkphp/
LIB_PATH
/www/wwwroot/bocai/thinkphp/library/
CORE_PATH
/www/wwwroot/bocai/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/bocai/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/bocai/
EXTEND_PATH
/www/wwwroot/bocai/extend/
VENDOR_PATH
/www/wwwroot/bocai/vendor/
LOG_PATH
/www/wwwroot/bocai/public/../runtime/log/
CACHE_PATH
/www/wwwroot/bocai/public/../runtime/cache/
TEMP_PATH
/www/wwwroot/bocai/public/../runtime/temp/
CONF_PATH
/www/wwwroot/bocai/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
DB_SITES
mysql://slcgc_195:B5neSUj6Tk629@127.0.0.1:6712/slcgc_195#utf8