Browse Source

修改排序

rkljw 6 tháng trước cách đây
mục cha
commit
fa37cbc81d
2 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      app/JsonRpc/WebsiteService.php
  2. 0 0
      runtime/container/scan.cache

+ 1 - 0
app/JsonRpc/WebsiteService.php

@@ -885,6 +885,7 @@ class WebsiteService implements WebsiteServiceInterface
             ->with(["websiteCategory"=>function ($query) {
                 $query->where(['pid'=>0])->select('website_id','name','alias','category_id');
             }])
+            ->orderBy('created_at','desc')
             ->limit($data['pageSize'])->offset(($data['page']-1)*$data['pageSize'])
             ->get();
 

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
runtime/container/scan.cache


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác