15954078560 пре 2 година
родитељ
комит
d084a43424
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      application/api/controller/Index.php

+ 1 - 1
application/api/controller/Index.php

@@ -50,7 +50,7 @@ class Index extends Api
         }
 
         $list = Db::name('active')->field('id, type, title, desc, remark, image, price, maxperson, currentperson, status')
-            ->where($where)->page($this->page, $this->pagenum)->order('createtime', 'desc')->select();
+            ->where($where)->page($this->page, $this->pagenum)->order('weigh, createtime desc')->select();
 
         $list = list_domain_image($list, ['image']);
         foreach ($list as &$v) {