From 0a29827b5fa24bbc7390a680b60c2b0f816e2f1c Mon Sep 17 00:00:00 2001 From: shilixia <2309368887@qq.com> Date: Fri, 16 Oct 2020 10:26:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=8F=98=E5=8F=91=E9=82=AE=E4=BB=B6?= =?UTF-8?q?=E7=9A=84=E8=B4=A6=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/apps/system/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/apps/system/views.py b/server/apps/system/views.py index 504326a..c7908f8 100644 --- a/server/apps/system/views.py +++ b/server/apps/system/views.py @@ -81,9 +81,9 @@ class sendMsg(APIView): def post(self, request): code = random.randint(10000,99999) - my_sender = 'zhulinwei@ctc.ac.cn' + my_sender = 'gxpt@ctc.ac.cn' my_user = request.data['mail'] - my_pass = 'Zlw901105' + my_pass = 'Pintail123' if not User.objects.filter(username=my_user).exists(): return Response('该账户不存在', status=status.HTTP_400_BAD_REQUEST) try: