Browse Source

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

dong025 18 hours ago
parent
commit
5d96eacaef
1 changed files with 1 additions and 1 deletions
  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);
       }