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
Do you mean just delete those two sentences? I'll try it right away
It’s not that it doesn’t run, but that Session:set() doesn’t run, causing the checkLogin() method to not run!