$this->response 和 $this->response () 的区别?
我们知道,在使用model模型获取数据的时候,$user->topics 返回的是数据集合, $user->topics()返回的是数据库查询语句。$user->topics == $user->topics()->get()。
所以想问问,这里的 $this->response 和 $this->response() 有什么区别?
推荐文章: