Closed tl54577 closed 1 year ago
原来这样写
$data = User::where('id',1)->find(); $data['purse'] = Purse::where('user_id',$data['id'])->find();
现在只有这样写,还会报各种错误!
$data = User::where('id',1)->find(); $data['purse'] = Purse::where('user_id',$data['id']) ->find() ->toArray();
希望小版本别搞这种写法上的改变,做好兼容性,改回来!
已经改进兼容了
原来这样写
现在只有这样写,还会报各种错误!
希望小版本别搞这种写法上的改变,做好兼容性,改回来!