lvhao il y a 4 mois
Parent
commit
a118f780ed
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      core/CoreApp/controllers/Goodimglibrary.php

+ 2 - 2
core/CoreApp/controllers/Goodimglibrary.php

@@ -110,9 +110,9 @@ class Goodimglibrary extends Start_Controller {
                 $hairnumber = trim($hairnumber);
                 $this->db->like('g.features', $hairnumber);
             }
-
-            $this->db->order_by('g.id', 'asc');
             $this->db->order_by('g.has_source', 'desc');
+            $this->db->order_by('g.id', 'asc');
+            
             
 
             // 分页 (limit, offset)