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.
现在我有一个项目pyrocms,我在模块控制器中获取当前 id 用户时遇到问题,有人知道如何获取吗?
pyrocms
利用:
$this->current_user->id
这对我来说是回报null。 我知道我在我的模板上登录了我正在回显
null
{{ user:display_name }}
正好。
古怪