获取应用名称优化

feat/task1-c-wallet
Devil 2021-07-23 21:07:49 +08:00
parent 58f1ad14ac
commit 959710ce11
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ function MyView($view = '', $data = [])
*/
function RequestModule()
{
return strtolower(\think\facade\App::initialize()->http->getName());
return strtolower(app('http')->getName());
}
/**