modify the struct of schedule
This commit is contained in:
parent
4a8c1b9dda
commit
c0fde1c824
@ -121,7 +121,7 @@ def getSchedule(Ip, S):
|
||||
days_per_week[n[0]] = max(days_per_week[n[0]] , i+1)
|
||||
Time[n[0]] = 1
|
||||
index += 1
|
||||
temp_lesson['Time'] = Time
|
||||
temp_lesson['Time_split'] = Time
|
||||
lesson[j*2+k][i].append(temp_lesson)
|
||||
data_cache = {'lesson':lesson,'days_per_week':days_per_week}
|
||||
return {'errcode': 200, 'errmsg': 'ok', 'data': data_cache}
|
||||
|
Loading…
x
Reference in New Issue
Block a user