yingzi преди 2 години
родител
ревизия
ee00c34768
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/api/controller/Pub.php

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

@@ -308,7 +308,7 @@ class Pub extends BaseController
         $time = $request->param('time', time()); // 时间戳,默认为当前时间
         $list = (new UserModel)->where('card_look_count', '>', 0);
         if ($time > 0) {
-            $list = $list->whereTime('create_time', '>=', $time);
+            $list = $list->whereTime('parent_time', '>=', $time);
         }
         $list = $list->order('card_look_count', 'desc')->select();
         $rankList = [];