Sfoglia il codice sorgente

book list select user bugs

zz 5 anni fa
parent
commit
8f49922b01
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      app/Client/SiteUser.php

+ 2 - 1
app/Client/SiteUser.php

@@ -86,8 +86,9 @@ class SiteUser
     /**
      * 有包年的,按最新的包年记录渠道
      */
-    private function getUserFromYearOrder($users)
+    private function getUserFromYearOrder()
     {
+        $users = $this->users;
         $year_order = YearOrder::whereIn('uid', collect($users)->pluck('id')->all())->orderBy('end_time', 'desc')->first();
         if ($year_order) {
             //筛选包年结束时间最后的UID