![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
thinkPHP
文章平均质量分 67
纯情呆萌大宝剑
纵使相逢应不识,尘满面,鬓如霜
展开
-
关于ThinkPHP5前置操作不生效的问题
在使用TP5前置方法时,发现怎么样都不生效protected $beforeActionList = [ 'LevelController' => ['only'=>'SelectAduit'] ];解决办法:将$beforeActionList属性中的 'LevelController' => ['only'=>'SelectAduit'...原创 2019-11-15 16:19:41 · 216 阅读 · 0 评论 -
有关thinkPHP框架POST方式接收数组出现variable type error:array的报错
最近在处理tp5接收一个查询条件数组的时候,发现一个问题1、错误复现 $data= Request::instance()->param('SelectOption');提示报错variable type error:array嗯,当时感觉也没哪里逻辑错了切换到助手函数测试一下 $data= Input('SelectOption');还是同样的报错于是去细查tp5...原创 2019-09-25 10:07:51 · 1163 阅读 · 0 评论 -
细说TP5框架中读取器的妙用
组织原创 2019-09-27 15:38:05 · 153 阅读 · 0 评论