sutdent_id to student_id(spell error)

This commit is contained in:
lijingwei 2020-01-19 03:54:06 +00:00
parent 4091a23c56
commit 19e1336a1e

View File

@ -35,7 +35,7 @@ def connection(username,password):
data = json.loads(r.content.decode('utf-8'))
student_name = data['data']['StudentDto']['XM']
student_id = data['data']['StudentDto']['XH']
return {'errcode': 200, 'errmsg': 'ok', 'ip': ip, 's': s,'student_name':student_name,'student_id':sutdent_id}
return {'errcode': 200, 'errmsg': 'ok', 'ip': ip, 's': s,'student_name':student_name,'student_id':student_id}
def getGrade(Ip, S):
headers = {'Content-Type': 'application/json'}