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.
我需要一个控制器,将其用作所有其他控制器的父级。我需要能够检查登录状态,我不想通过手动调用一个方法来做到这一点——我在想父控制器必须有某种方法,它可能会被自动调用。
但我找不到任何东西。对此有什么想法吗?