Explorar el Código

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

dong025 hace 2 días
padre
commit
5d96eacaef
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
       }