Home  >  Q&A  >  body text

$user = UserModel::get($map); does not run


Recently when I was studying [ThinkPHP5 Practical Combat [Teaching Management System]], the following $user = UserModel::get($map); always did not run, check the video I've tried it countless times but it doesn't work. Can anyone give me some advice? QQ8728609


image.png

刀刀刀刀1774 days ago1048

reply all(3)I'll reply

  • 刀刀

    刀刀2019-12-31 13:21:58

    Do you mean just delete those two sentences? I'll try it right away

    reply
    0
  • 清风新影

    清风新影2019-12-31 13:19:40

    It’s not that it doesn’t run, but that Session:set() doesn’t run, causing the checkLogin() method to not run!

    reply
    0
  • 刀刀

    Sir, I have deleted all sessions, but it still doesn’t work? Can you give me some guidance? QQ8728609

    刀刀 · 2020-01-02 08:47:47
  • Cancelreply