This commit is contained in:
caoqianming 2020-09-24 14:31:15 +08:00
parent 592dcfcbe8
commit 170f20bac4
2 changed files with 2 additions and 2 deletions

View File

@ -76,9 +76,9 @@ class sendMsg(APIView):
def post(self, request):
code = random.randint(10000,99999)
my_sender = 'caoqianming@ctc.ac.cn'
my_sender = 'zhulinwei@ctc.ac.cn'
my_user = request.data['mail']
my_pass = '9093QQww'
my_pass = 'Zlw901105'
if not User.objects.filter(username=my_user).exists():
return Response('该账户不存在', status=status.HTTP_400_BAD_REQUEST)
try:

Binary file not shown.