优化后台管理地址

This commit is contained in:
devil_gong
2019-06-20 15:21:25 +08:00
parent 148ed5673a
commit d5aeae6b1f
5 changed files with 90 additions and 2 deletions

View File

@ -108,7 +108,7 @@ class Common extends Controller
ConfigService::ConfigInit();
// url模式,后端采用兼容模式
\think\facade\Url::root(__MY_ROOT_PUBLIC__.'index.php?s=');
\think\facade\Url::root(__MY_ROOT_PUBLIC__.CurrentScriptName().'?s=');
}
/**