Merge branch 'lijingwei' into 'master'
modify the struct of schedule's cache modify the struct of schedule's cache See merge request !2
This commit is contained in:
commit
83ba475597
@ -71,6 +71,8 @@ def getSchedule(Ip, S):
|
||||
if( data[i][time[j]][k]['Dtos'] ):
|
||||
data_cache[j*2+k][i] = []
|
||||
for l in data[i][time[j]][k]['Dtos']:
|
||||
temp = []
|
||||
for m in l['Content']:
|
||||
data_cache[j*2+k][i].append(m['Name'])
|
||||
temp.append(m['Name'])
|
||||
data_cache[j*2+k][i].append(temp)
|
||||
return {'errcode': 200, 'errmsg': 'ok', 'data': data_cache}
|
Loading…
x
Reference in New Issue
Block a user