소스 검색

升级降级

afa 5 달 전
부모
커밋
4e36cbf162
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
                   }
             }
-            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;
       }