thinkphp报错Call to a member function assign() on a non-object

    xiaoxiao2021-03-25  78

    原因是:控制器里面的构造函数没有继承父类

    public function __construct() { }

    解决办法:

    public function __construct() { parent::__construct(); }
    转载请注明原文地址: https://ju.6miu.com/read-17438.html

    最新回复(0)