大家需求的二级域名绑定
首先开启域名部署application/config.php 下

然后再路由文件里application/route.php,或者大家现在避免更新覆盖,可以在路由的包含文件里routemy.php添加如下
use think\Route;
Route::domain('blog','blog/index');
Route::group(['name'=>'b','ext'=>'html'], [
'article-<id>' =>['blog/content/show',['method'=>'get'],['id' => '\d+']],
'list-<fid>'=>['blog/content/index',['method'=>'get'],['fid' => '\d+']],
'mid-<mid>'=>['blog/content/index',['method'=>'get'],['mid' => '\d+']],
'article' => 'blog/content/show',
'list' => 'blog/content/index',
'index' => 'blog/index/index',
]);一:把blog修改为你需要的模块即可;
二:修改下name =>b 换个名字,比如name=>article 不要造成模块冲突