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.
我正在使用设计 1.4.8
我想在回调方法中分配当前登录用户的id 。
如何在不从控制器传递的情况下在模型中使用当前用户的ID ?
在模型中还有其他方法可以做到这一点吗?