tp5.1 提示:Non-static method think\Request::post() should not be called statically
则是命名空间的问题,解决方法:
将引入use think\Request;
的地方修改成use think\facade\Request;
标签:Non,Request,called,static,statically,should,think
来源: https://blog.csdn.net/tgyzjy/article/details/122763544