del sendmail
This commit is contained in:
parent
84df4dbf02
commit
8309a17639
@ -19,8 +19,8 @@ def manageLogin(request):
|
||||
if res['errcode'] == 200:
|
||||
# 登录成功并进行查询
|
||||
grade = getGrade(res['ip'], res['s'])
|
||||
if grade['errcode'] == 200:
|
||||
sendMail('起来搬砖啦!', '教务系统成绩信息已恢复查询,请查看', ['1144131090@qq.com','nayiyewosile@qq.com'])
|
||||
# if grade['errcode'] == 200:
|
||||
# sendMail('起来搬砖啦!', '教务系统成绩信息已恢复查询,请查看', ['1144131090@qq.com','nayiyewosile@qq.com'])
|
||||
schedule = getSchedule(res['ip'], res['s'])
|
||||
return {'errcode': '200', 'errmsg': 'ok', 'student_name':res['student_name'], 'student_id':res['student_id'], 'grade': grade, 'schedule': schedule}
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user