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: