15954078560 2 years ago
parent
commit
d084a43424
1 changed files with 1 additions and 1 deletions
  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) {