From 911e548e017bfc87fdc6ca6ab82651630f357d17 Mon Sep 17 00:00:00 2001 From: shilixia <2309368887@qq.com> Date: Fri, 16 Oct 2020 10:41:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=91=E9=80=81=E9=82=AE?= =?UTF-8?q?=E7=AE=B1=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/apps/system/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: