Browse Source

默认的

Kirin 3 years ago
parent
commit
0e38c83de0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/model/vote/VoteJoin.php

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

@@ -46,7 +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')
+            ->order('a.status asc,a.id desc')
             ->page((int)$where['page'], (int)$where['limit'])
             ->select()
             ->each(function ($item) use ($id) {