php
return [
'enable' => true,
// 多应用绑定关系
'bind' => [
'demo.com' => '', // 不属于任何应用=> 'home', // 绑定到home应用
'cd02.demo.com' => 'home', // 绑定到home应用
],
// 绑定关系,域名,应用的验证逻辑,返回true时认为符合绑定关系,反之不符合返回404
'check' => function ($bind, $domain, $app) {
// 域名存在大写时 检测会失效*.demo.com 直接默认都绑定在这个目录下
```php
'bind' => [
'demo.com' => '', // 不属于任何应用
'pt.demo.com不然在后台添加一个二级域名就要在配置文件中添加?