tp6 multi-application

composer require topthink/think-multi-app  
  1. Delete the original controller file (must be deleted)

  2. Modify the configuration file to enable multi-application mode Modify the config/app.php file, if not, do not need to change

// enable multi-app 'auto_multi_app' => true

  1. Create an application php think build demo demo is the name of the application, which can be modified by yourself

おすすめ

転載: blog.csdn.net/qq_24023151/article/details/127411595