使用Laravel 5.8。
我有一张桌子:persons(id, matricule, name, section, is_punished, created_at, updated_at)
。
我有4页:login_page
,user_page
,member_page
和not_member_page
。
允许用户连接到以上任何页面,并且仅使用person
表和matricule
列进行身份验证*注:矩阵是“注册号”的法语。
人员表的矩阵列是由用户通过login_page
处的表单输入的,此后,对用户进行身份验证并将其重定向到user_page
。
重定向应视矩阵列而定。
我也是,我也想知道您是怎么做到的,与您的情况相同