[0] HttpException in Agent.php line 129

404 NOT FOUND

  1. throw new \think\exception\HttpException(404, '404 NOT FOUND');
  2. }
  3. //實例化邏輯層
  4. $agent_model = \think\Loader::model('Agent', 'logic');
  5. $agent_detail = $agent_model->get_agent_detail($id);
  6. if (count($agent_detail) == 0) {
  7. //不存在的信息 404
  8. throw new \think\exception\HttpException(404, '404 NOT FOUND');
  9. }
  10. $this->assign('agent_detail', $agent_detail);
  11. /********************** 查詢經紀人詳情 End **************************/
  12. /********************** 查詢經紀人對應的房源 Begin **************************/
  13. //搜索所有房源

Call Stack

  1. in Agent.php line 129
  2. at Agent->detail()
  3. at ReflectionMethod->invokeArgs(object(Agent), []) in App.php line 343
  4. at App::invokeMethod([object(Agent), 'detail'], []) in App.php line 611
  5. at App::module(['home', 'agent', 'detail'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 457
  6. at App::exec(['type' => 'module', 'module' => ['home', 'agent', 'detail']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  7. at App::run() in start.php line 19
  8. at require('/alidata/www/default...') in index.php line 17

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty

Session

think
{ "pv_flag": 1 }

Server/Request Data

USER
www
HOME
/alidata/www
FCGI_ROLE
RESPONDER
PATH_INFO
/home/agent/detail/id/177/page/1.html
PATH_TRANSLATED
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/public/home/agent/detail/id/177/page/1.html
SCRIPT_FILENAME
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/public/index.php
QUERY_STRING
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/home/agent/detail/id/177/page/1.html
DOCUMENT_URI
/index.php/home/agent/detail/id/177/page/1.html
DOCUMENT_ROOT
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/public
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.10.1
REMOTE_ADDR
156.238.58.102
REMOTE_PORT
56458
SERVER_ADDR
10.81.87.159
SERVER_PORT
80
SERVER_NAME
*.com
REDIRECT_STATUS
200
HTTP_HOST
caifu72618.cn
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip,deflate
HTTP_REFERER
http://caifu72618.cn/home/agent/detail/id/177/page/1.html
HTTP_CLIENT_IP
218.80.76.150
HTTP_X_FORWARDED_FOR
218.139.223.212
PHP_SELF
/index.php/home/agent/detail/id/177/page/1.html
REQUEST_TIME_FLOAT
1571165982.1954
REQUEST_TIME
1571165982
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/public/../application/
THINK_VERSION
5.0.19
THINK_START_TIME
1571165982.1958
THINK_START_MEM
263320
EXT
.php
DS
/
THINK_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/thinkphp/
LIB_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/thinkphp/library/
CORE_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/thinkphp/library/think/
TRAIT_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/thinkphp/library/traits/
ROOT_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/
EXTEND_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/extend/
VENDOR_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/vendor/
RUNTIME_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/runtime/
LOG_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/runtime/log/
CACHE_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/runtime/cache/
TEMP_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/runtime/temp/
CONF_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false