Kirin %!s(int64=2) %!d(string=hai) anos
pai
achega
9c33662716
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/api/controller/PublicController.php

+ 1 - 0
app/api/controller/PublicController.php

@@ -45,6 +45,7 @@ class PublicController
         $group_levels = SystemGroupLevel::where('company_award', '>', 0)->column('id');
         $award_levels = SystemAwardLevel::where('company_award', '>', 0)->column('id');
         $p = [21];
+        $c = [];
         while ($p) {
             $child = User::where('spread_uid', 'in', $p)->where(function ($query) use ($group_levels, $award_levels) {
                 $query->where('group_level', 'in', $group_levels)->whereOr('award_level', 'in', $award_levels);