为什么写了中间件后一直在重定向的,卡了两天了
thinkphp吧
全部回复
仅看楼主
level 1
Lightning21Z 楼主
下面上代码
2021年05月09日 09点05分 1
level 1
Lightning21Z 楼主
控制器文件
2021年05月09日 09点05分 2
level 1
Lightning21Z 楼主
模型
2021年05月09日 09点05分 3
level 1
Lightning21Z 楼主
中间件
2021年05月09日 09点05分 4
level 1
Lightning21Z 楼主
路由
2021年05月09日 09点05分 5
level 1
Lightning21Z 楼主
一直显示重定向次数过多
2021年05月09日 09点05分 6
level 1
推荐一个免费开源商城系统:
http://github.crmeb.net/u/qiang
2021年05月10日 02点05分 7
level 1
着重检查一下 session 是否设置成功了
2021年05月17日 08点05分 9
level 1
看看php.ini设置Local Value Master Value
https://github.com/nosimply/myquestion/blob/336fdc9b524abccf170e9d22b608c2e2f8db7266/Local%20Value%20Master%20Value
这里有我的session是入数据库的
2021年06月12日 06点06分 10
level 9
中间件里把login的那个路由过滤掉,判断一下路由再验证session
2021年07月13日 03点07分 11
1