\vendor\topthink\framework\src\helper.php

636行

return app()->getRootPath() . 'public' . DIRECTORY_SEPARATOR . ($path ? ltrim($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR : $path);

变更为

return app()->getRootPath() . DIRECTORY_SEPARATOR . ($path ? ltrim($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR : $path);

index.php,api.php ,admin.php

require __DIR__ . '/../vendor/autoload.php'; 变更为 require __DIR__ . '/vendor/autoload.php';