Browse Source

升级降级

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

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

@@ -40,7 +40,7 @@ class CommonLogic
                         $team_level_id -=1; //-1
                         $team_level_id -=1; //-1
                   }
                   }
             }
             }
-            return $result? UserModel::wherr('id', $user_id)->update(['team_level_id'=> $team_level_id]): false;
+            return $result? UserModel::where('id', $user_id)->update(['team_level_id'=> $team_level_id]): false;
       }
       }