#0 [-1]ReflectionException in NodeService.php line 122

Class \app\service\controller\api\add does not exist

  1. $data = [];
  2. }
  3. /*! 鎺掗櫎鍐呯疆鏂规硶锛岀姝㈣闂唴缃柟娉� */
  4. $ignores = get_class_methods('\think\admin\Controller');
  5. /*! 鎵弿鎵€鏈変唬鐮佹帶鍒跺櫒鑺傜偣锛屾洿鏂拌妭鐐圭紦瀛� */
  6. foreach ($this->scanDirectory($this->app->getBasePath()) as $file) {
  7. $name = substr($file, strlen(strtr($this->app->getRootPath(), '\\', '/')) - 1);
  8. if (preg_match("|^([\w/]+)/(\w+)/controller/(.+)\.php$|i", $name, $matches)) {
  9. [, $namespace, $appname, $classname] = $matches;
  10. $class = new ReflectionClass(strtr("{$namespace}/{$appname}/controller/{$classname}", '/', '\\'));
  11. $prefix = strtolower(strtr("{$appname}/{$this->nameTolower($classname)}", '\\', '/'));
  12. $data[$prefix] = $this->parseComment($class->getDocComment() ?: '', $classname);
  13. foreach ($class->getMethods(ReflectionMethod::IS_PUBLIC) as $method) {
  14. if (in_array($metname = $method->getName(), $ignores)) continue;
  15. $data[strtolower("{$prefix}/{$metname}")] = $this->parseComment($method->getDocComment() ?: '', $metname);
  16. }
  17. }
  18. }
  19. if (function_exists('admin_node_filter')) {

Call Stack

  1. in NodeService.php line 122
  2. at ReflectionClass->__construct() in NodeService.php line 122
  3. at NodeService->getMethods() in AdminService.php line 143
  4. at AdminService->check() in Library.php line 137
  5. at Library->think\admin\{closure}()
  6. at call_user_func() in Middleware.php line 142
  7. at Middleware->think\{closure}() in Pipeline.php line 85
  8. at Pipeline->think\{closure}() in Pipeline.php line 66
  9. at Pipeline->then() in Route.php line 773
  10. at Route->dispatch() in Http.php line 216
  11. at Http->dispatchToRoute() in Http.php line 206
  12. at Http->think\{closure}() in Pipeline.php line 59
  13. at Pipeline->think\{closure}() in Multiple.php line 72
  14. at Multiple->think\admin\multiple\{closure}() in Pipeline.php line 59
  15. at Pipeline->think\{closure}() in Pipeline.php line 66
  16. at Pipeline->then() in Multiple.php line 73
  17. at Multiple->handle()
  18. at call_user_func() in Middleware.php line 142
  19. at Middleware->think\{closure}() in Pipeline.php line 85
  20. at Pipeline->think\{closure}() in LoadLangPack.php line 57
  21. at LoadLangPack->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 Pipeline.php line 66
  29. at Pipeline->then() in Http.php line 207
  30. at Http->runWithRequest() in Http.php line 170
  31. at Http->run() in SystemService.php line 484
  32. at SystemService->doInit() in index.php line 10

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_PRIORITY u=0, i
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.9
HTTP_ACCEPT_ENCODING gzip, deflate, br, zstd
HTTP_SEC_FETCH_DEST document
HTTP_SEC_FETCH_USER ?1
HTTP_SEC_FETCH_MODE navigate
HTTP_SEC_FETCH_SITE none
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36 Edg/145.0.0.0
HTTP_UPGRADE_INSECURE_REQUESTS 1
HTTP_SEC_CH_UA_PLATFORM "Windows"
HTTP_SEC_CH_UA_MOBILE ?0
HTTP_SEC_CH_UA "Not:A-Brand";v="99", "Microsoft Edge";v="145", "Chromium";v="145"
HTTP_HOST www.zangbaotangzhongyi.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME zangbaotangzhongyi.com
SERVER_PORT 443
SERVER_ADDR 192.168.0.9
REMOTE_PORT 51038
REMOTE_ADDR 222.127.152.7
SERVER_SOFTWARE nginx/1.20.2
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/zangbaotangzhongyi.com
DOCUMENT_URI /index.php
REQUEST_URI /
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_FILENAME /www/wwwroot/zangbaotangzhongyi.com/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1772541255.6493
REQUEST_TIME 1772541255