更新接口

wxl
Wayne 11 months ago
parent c12d1c0b8c
commit cd25d217d8
  1. 2
      app/store/model/Banner.php

@ -28,7 +28,7 @@ class Banner extends BannerModel
*/
public function getList(): \think\Paginator
{
$data = $this->paginate();
$data = $this->order(['sort' => 'asc', 'create_time' => 'desc'])->paginate();
return self::preload($data, ['image']);
}

Loading…
Cancel
Save