完善打包封装代码结构

This commit is contained in:
2022-11-16 17:56:28 +08:00
parent 227aca6912
commit 417fbb5119
6 changed files with 32 additions and 53 deletions

5
think
View File

@@ -1,12 +1,15 @@
#!/usr/bin/env php
<?php
namespace think;
// 命令行入口文件
// 加载基础文件
require __DIR__ . '/vendor/autoload.php';
require __DIR__ . '/lib/index.php';
define('REUQEST_UID', uniqid());
// 应用初始化
(new App())->console->run();
(new App())->console->run();