2021年3月8日

摘要: 上篇说到index.php里面的$http = (new App())->http 最终就是调了APP类同目录下的 think\Http [tp6\vendor\topthink\framework\src\think\Http.php] 调用之前 使用了系统的一个叫APP [tp6\vendor\ 阅读全文
posted @ 2021-03-08 21:04 转瞬千年 阅读(1059) 评论(0) 推荐(0) 编辑
摘要: 1 <?php 2 namespace think; 3 4 require __DIR__ . '/../vendor/autoload.php'; 5 6 // 执行HTTP应用并响应 7 $http = (new App())->http; 8 9 $response = $http->run 阅读全文
posted @ 2021-03-08 20:11 转瞬千年 阅读(838) 评论(0) 推荐(0) 编辑

导航