cma
This commit is contained in:
parent
592dcfcbe8
commit
170f20bac4
|
|
@ -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.
Loading…
Reference in New Issue