Browse Source

作品列表随机排序

lizhen_gitee 3 months ago
parent
commit
7dab34661a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/Subject.php

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

@@ -47,7 +47,7 @@ class Subject extends Api
 
         //选手列表
         $lists = Db::name('vote_player')
-            ->where($map)->orderRaw('RAND()')->autopage()->select();
+            ->where($map)->orderRaw('RAND()')->select();
         $lists = list_domain_image($lists,['thumb_image']);