thinkphp5致命错误: Call to undefined method app\index\controller\Resource::assign()。
对于这个问题其实很好解决!
thinkphp5致命错误: Call to undefined method app\index\controller\Resource::assign()
第一步,引入controller类use think\Controller;
第二步,继承controller类class Resource extends Controller
问题解决了。

相关文章:

  • 2021-12-31
  • 2021-08-07
  • 2021-08-06
  • 2021-06-28
  • 2021-12-11
  • 2021-10-25
  • 2021-08-04
  • 2021-10-12
猜你喜欢
  • 2021-08-28
  • 2020-04-13
  • 2021-12-13
  • 2021-07-27
  • 2018-06-05
  • 2021-05-17
  • 2021-07-26
相关资源
相似解决方案