afa 4 months ago
parent
commit
f96bb37d0d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/logic/CommonLogic.php

+ 1 - 1
application/api/logic/CommonLogic.php

@@ -73,7 +73,7 @@ class CommonLogic
             $config = config('team_level_where');
             $result = false;
             //组合套数
-            $groupCount = UserPledge::getPledgeCount($user_id) ;
+            $groupCount = UserPledge::getPledgeCount($user_id)-1 ;
             if($team_level_id == 1 && $groupCount < $config[0]['num']){
                   $result = true;
                   $team_level_id = 0;