[0] HttpException in K2019.php line 827

  1. $like = Db::name('media')->where([['status','=',1],['id','neq',$id]])->orderRaw("RAND()")->limit(5)->select();
  2. $other = Db::name('media')->where([['status','=',1],['id','neq',$id],['channel_type','eq',$info['channel_type']]])->limit(5)->select();
  3. return $this->fetch($this->tpl.'/media_detail',['info'=>$info,'like'=>$like,'other'=>$other]);
  4. }
  5. public function wemedia_detail()
  6. {
  7. $id = input('id');
  8. $info = Db::name('wemedia')->where([['status','=',1],['id','=',$id]])->find();
  9. if(!$info) throw new \think\exception\HttpException(404);
  10. $info['media_name'] = $info['wemedia_name'];
  11. $like = Db::name('wemedia')->where([['status','=',1],['id','neq',$id]])->orderRaw("RAND()")->limit(5)->select();
  12. $other = Db::name('wemedia')->where([['status','=',1],['id','neq',$id],['industry','eq',$info['industry']]])->limit(5)->select();
  13. return $this->fetch($this->tpl.'/wemedia_detail',['info'=>$info,'like'=>$like,'other'=>$other]);
  14. }
  15. }

Call Stack

  1. in K2019.php line 827
  2. at K2019->wemedia_detail()
  3. at ReflectionMethod->invokeArgs(object(K2019), []) in Container.php line 395
  4. at Container->invokeReflectMethod(object(K2019), object(ReflectionMethod), ['id' => '63805', 'convert' => false]) in Module.php line 131
  5. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  6. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  7. at Middleware->think\{closure}(object(Request))
  8. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  9. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
  10. at Module->exec() in Dispatch.php line 168
  11. at Dispatch->run() in App.php line 432
  12. at App->think\{closure}(object(Request), object(Closure), null)
  13. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  14. at Middleware->think\{closure}(object(Request))
  15. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  16. at Middleware->dispatch(object(Request)) in App.php line 435
  17. at App->run() in index.php line 24

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Session
www.szyjtcm.cn { "visiter": true, "cc_times": 1, "cc_lasttime": 1711515917 }
Server/Request Data
USER www
HOME /home/www
HTTP_X_FORWARDED_FOR 54.224.52.210
HTTP_X_CLIENT_SCHEME https
HTTP_X_ALICDN_DA_VIA 61.160.192.99,47.102.25.44
HTTP_VIA cn6425.l1, l2et2.l2
HTTP_EAGLEEYE_TRACEID 3da0c01417115159176121100e
HTTP_ALI_SWIFT_STAT_HOST www.szyjtcm.cn
HTTP_ALI_SWIFT_LOG_HOST www.szyjtcm.cn
HTTP_ALI_SWIFT_FORCE_TTL_CODE 400=0
HTTP_ALI_CDN_REAL_PORT 42940
HTTP_ALI_CDN_REAL_IP 54.224.52.210
HTTP_ALI_CDN_APPVIEW_NAME cdn-tengine
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_HOST www.szyjtcm.cn
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.szyjtcm.cn
SERVER_PORT 80
SERVER_ADDR 172.19.36.121
REMOTE_PORT 25998
REMOTE_ADDR 47.102.25.21
SERVER_SOFTWARE nginx/1.21.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /disk2/erjidaili4.danews.cc/public
DOCUMENT_URI /index.php
REQUEST_URI /wemedia/63805.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/wemedia/63805.html
SCRIPT_FILENAME /disk2/erjidaili4.danews.cc/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711515917.6187
REQUEST_TIME 1711515917
Environment Variablesempty
ThinkPHP Constants
APP_PATH /disk2/erjidaili4.danews.cc/public/../application/
DS /
ROOT_PATH /disk2/erjidaili4.danews.cc/
FILTER_VALIDATE_BOOL 258