#0 [404]Exception in Index.php line 198

内容不存在

  1. 'catid' => $catId,
  2. 'page' => $page,
  3. 'name' => $policy['name'],
  4. 'cont' => $policy['content'],
  5. 'starttime' => $policy['starttime'],
  6. 'udatetime' => $policy['updatetime'],
  7. ]);
  8. return $this->fetch('/' . $templateName);
  9. } else {
  10. throw new \think\Exception('内容不存在', 404);
  11. }
  12. }
  13. $catId = $cateInfo['id'];
  14. $templatePath = $cateInfo['list_template_html'] ?: '';
  15. $modelInfo = getModelInfo($cateInfo['modelid']);
  16. // if (empty($modelInfo)) {
  17. // throw new \think\Exception('模型不存在', 404);
  18. // }
  19. if (!$templatePath) {

Call Stack

  1. in Index.php line 198
  2. at Index->listPage() in Index.php line 98
  3. at Index->entrance()
  4. at ReflectionMethod->invokeArgs() in Container.php line 344
  5. at Container->invokeReflectMethod() in Controller.php line 110
  6. at Controller->think\route\dispatch\{closure}() in Pipeline.php line 59
  7. at Pipeline->think\{closure}() in Pipeline.php line 66
  8. at Pipeline->then() in Controller.php line 113
  9. at Controller->exec() in Dispatch.php line 80
  10. at Dispatch->run() in Route.php line 793
  11. at Route->think\{closure}() in Pipeline.php line 59
  12. at Pipeline->think\{closure}() in Pipeline.php line 66
  13. at Pipeline->then() in Route.php line 794
  14. at Route->dispatch() in Http.php line 216
  15. at Http->dispatchToRoute() in Http.php line 206
  16. at Http->think\{closure}() in Pipeline.php line 59
  17. at Pipeline->think\{closure}() in MultiApp.php line 51
  18. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  19. at Pipeline->think\{closure}() in Pipeline.php line 66
  20. at Pipeline->then() in MultiApp.php line 52
  21. at MultiApp->handle()
  22. at call_user_func() in Middleware.php line 142
  23. at Middleware->think\{closure}() in Pipeline.php line 85
  24. at Pipeline->think\{closure}() in SessionInit.php line 67
  25. at SessionInit->handle()
  26. at call_user_func() in Middleware.php line 142
  27. at Middleware->think\{closure}() in Pipeline.php line 85
  28. at Pipeline->think\{closure}() in LoadLangPack.php line 57
  29. at LoadLangPack->handle()
  30. at call_user_func() in Middleware.php line 142
  31. at Middleware->think\{closure}() in Pipeline.php line 85
  32. at Pipeline->think\{closure}() in TraceDebug.php line 71
  33. at TraceDebug->handle()
  34. at call_user_func() in Middleware.php line 142
  35. at Middleware->think\{closure}() in Pipeline.php line 85
  36. at Pipeline->think\{closure}() in Pipeline.php line 66
  37. at Pipeline->then() in Http.php line 207
  38. at Http->runWithRequest() in Http.php line 170
  39. at Http->run() in index.php line 36

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Session
website_prefix cn
Server/Request Data
USER www
HOME /home/www
HTTP_ACCEPT */*
HTTP_USER_AGENT Mozilla/5.0
HTTP_HOST www.fftai.cn
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.fftai.cn
SERVER_PORT 443
SERVER_ADDR 172.20.110.46
REMOTE_PORT 50776
REMOTE_ADDR 221.219.242.202
SERVER_SOFTWARE nginx/1.24.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/cn_fuliye/public
DOCUMENT_URI /index.php
REQUEST_URI /uploads/upload/images/dexterous/fdh6.jpg
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/404.html
SCRIPT_FILENAME /www/wwwroot/cn_fuliye/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1774395208.7581
REQUEST_TIME 1774395208