按照「创建时间」排序为什么要自己写?
我看这里 https://learnku.com/docs/laravel/5.5/queries#order... 有按照创建时间排序的方法 latest()
,为什么要在模型中再重写一个?
推荐文章: