2016年11月11日 - Laravel错误:Call to a member function format() on string laravelpublic function store(Request $request) { $data=[ 'expired_at'=>Carbon::no...
最佳答案: 父类Controller里边是有一个构造函数的,我只知道你这样定义你的构造函数肯定会报错,不过具体是不是这个错误我忘记了,解决办法是:在你的构造函数的function...更多关于Laravel错误:Call to a member function format() on string的问题>>