如题, webman-admin默认路由为/app/admin
/app/admin
如何最优解修改为其他的自定义路由前缀呢? 比如:/app/dfrv2e2dc1fxs 或者 /dfrv2e2dc1fxs
/app/dfrv2e2dc1fxs
/dfrv2e2dc1fxs
其目的主要是不让人随便猜出来后台路由,不考虑管理后台用单独的二级域名
项目配置 config/route.php 里添加
use plugin\admin\app\controller\IndexController; Route::any('/dfrv2e2dc1fxs', [IndexController::class, 'index']);
谢谢老大
学习了
项目配置 config/route.php 里添加
谢谢老大
学习了