소스 검색

默认的

Kirin 3 년 전
부모
커밋
5bf6e0180a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/admin/model/vote/VoteJoin.php

+ 1 - 0
app/admin/model/vote/VoteJoin.php

@@ -46,6 +46,7 @@ class VoteJoin extends BaseModel
             ->where('a.vid', $id)
             ->join('user u', 'u.uid = a.uid', 'left')
             ->field('a.*,u.nickname,u.uid')
+            ->order('status asc,id desc')
             ->page((int)$where['page'], (int)$where['limit'])
             ->select()
             ->each(function ($item) use ($id) {