소스 검색

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

dong025 2 일 전
부모
커밋
5d96eacaef
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);
       }