mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-24 23:59:16 +08:00
解决 HTTP 调用指令 URL 问题
This commit is contained in:
parent
50d3420043
commit
53e6a2a6a0
@ -50,6 +50,7 @@ class Library extends Service
|
||||
{
|
||||
// 多应用中间键
|
||||
$this->app->event->listen('HttpRun', function () {
|
||||
$this->app->request->baseUrl(); /* 解决 HTTP 调用指令 URL 问题 */
|
||||
$this->app->middleware->add(App::class);
|
||||
});
|
||||
// 替换 ThinkPHP 地址处理
|
||||
|
Loading…
x
Reference in New Issue
Block a user