namespace think;
require __DIR__ . '/../vendor/autoload.php';
// 执行HTTP应用并响应
$http = (new App())->http;
$response = $http->name('index')->run();
$response->send();
$http->end($response);url('index/index')生成的url是:http://www.xx.com/index/index/index.html这样访问报错
正确的url是不带应用名的,如:http://www.xx.com/index/index.html
这个是bug还是就是这样,怎么解决好?
最佳答案