Pārlūkot izejas kodu

wesmiler ECY 画画交易平台

APPLE 3 gadi atpakaļ
vecāks
revīzija
6969fbbcaa
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      application/shop/controller/User.php

+ 1 - 1
application/shop/controller/User.php

@@ -168,7 +168,7 @@ class User extends Frontend{
      */
      */
     function material(){
     function material(){
         $lists=db('material')->where(['status'=>1])
         $lists=db('material')->where(['status'=>1])
-            ->order('create_time desc')
+            ->order('create_time desc,id desc')
             ->limit(100)
             ->limit(100)
             ->select();
             ->select();
         if($lists){
         if($lists){