Browse Source

Default Changelist

yingzi 2 years ago
parent
commit
8519baaf24
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/api/controller/Pub.php

+ 1 - 1
app/api/controller/Pub.php

@@ -300,7 +300,7 @@ class Pub extends BaseController
 
         // 获取名片浏览量排行榜
         $time = $request->param('time', 'week'); // 时间段,默认为一周
-        $num = $request->param('num', 10); // 显示个数,默认为10个
+        $num = $request->param('num', 100); // 显示个数,默认为10个
         $list = (new UserModel)->where('card_look_count', '>', 0);
         if ($time == 'week') {
             $list = $list->whereTime('create_time', '>=', strtotime('-1 week'));