dever 4 年之前
父節點
當前提交
0d3e08445c
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      database/avatar.php

+ 2 - 3
database/avatar.php

@@ -75,9 +75,8 @@ return array
             (
             (
                 'state' => 1,
                 'state' => 1,
             ),
             ),
-            'type' => 'all',
-            'order' => array('rand()' => ''),
-            'limit' => '0,1000',
+            'type' => 'one',
+            'order' => 'rand()',
             'col' => '*',
             'col' => '*',
         ),
         ),
     ),
     ),