Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 10 月的 cms 中有插件用户。我可以{{user.name}}在页面中使用,但是如何在 onStart 函数中使用它
{{user.name}}
您可以使用 Auth:: 门面
$user = Auth::getUser();