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) {