diff --git a/server/apps/system/views.py b/server/apps/system/views.py index c7908f8..8765196 100644 --- a/server/apps/system/views.py +++ b/server/apps/system/views.py @@ -83,7 +83,7 @@ class sendMsg(APIView): code = random.randint(10000,99999) my_sender = 'gxpt@ctc.ac.cn' my_user = request.data['mail'] - my_pass = 'Pintail123' + my_pass = 'Pintai123' if not User.objects.filter(username=my_user).exists(): return Response('该账户不存在', status=status.HTTP_400_BAD_REQUEST) try: