Browse Source

最新空投的产品显示在前面

dong025 1 ngày trước cách đây
mục cha
commit
5d96eacaef
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      application/api/logic/UserLogic.php

+ 1 - 1
application/api/logic/UserLogic.php

@@ -66,7 +66,7 @@ class UserLogic
             ->where('a.user_id', $uid)
             ->group('a.product_id')
             ->where($where)
-            ->order('a.id DESC')
+            ->order('a.create_time DESC')
             ->paginate($pageSize);
       }