安装thinkphp6
composer create-project topthink/think demo
安装多应用模式扩展
composer require topthink/think-multi-app
新建应用admin
php think build admin
命令行出现succeed! 说明成功!再删除app目录下的controller
测试:http:/127.0.0.1/admin/index/index