ThinkPHP5.1的Log::write()不能按手册调用

浏览:5005 发布日期:2019/04/08 分类:ThinkPHP5专区
在控制器中调用Log::write($somevar),报错说不可以使用静态方法:
Non-static method think\Log::write() should not be called statically
最佳答案
评论( 相关
后面还有条评论,点击查看>>