标签:leave span 通过 status adr arch 返回结果 rest min
1 f返回所有学校班牌信息接口
请求方式: get
http://0.0.0.0:8008/api/admin/v1/CheckBanPaiStatus
2 通过Rucode和学校名称搜索接口
通过Rucode进行搜索
请求方式get
http://0.0.0.0:8008/api/admin/v1/CheckBanPaiStatus/?SearchFiled=3408076
通过学校名进行搜索
请求方式: get
http://0.0.0.0:8008/api/admin/v1/CheckBanPaiStatus/?SearchFiled=七天网络
3 查看学校详情接口
请求方式get
http://0.0.0.0:8008/api/admin/v1/CheckBanPaiStatus/?SearchFiled=3408076
以上三个接口其实就是一个接口,返回格式如下:
班牌的状态字段 ClassROomStatus 0 表示未登录 1表示登录 2 表示离线
{ "code": 200, "message": "success", "data": [ { "Rucode": "3408076", "SchoolName": "七天网络", "NormalStatus": 1, "LeaveStatus": 0, "Unlongin": 19, "ClassRoomMes": [ # 这里单一学校的班牌信息 { "Class_Room_Adreess": "一楼", "ClassRoomMid": "59e6d09b705deb72706503ae", "Class_Room_Name": "啊大厦大所", "ClassROomStatus": 2 }, { "Class_Room_Adreess": "一楼", "ClassRoomMid": "59e6d09b705deb72706503af", "Class_Room_Name": "1017210661165", "ClassROomStatus": 2 }, { "Class_Room_Adreess": "一楼", "ClassRoomMid": "59e6d09b705deb72706503b0", "Class_Room_Name": "1090855420342", "ClassROomStatus": 2 }, { "Class_Room_Adreess": "一楼", "ClassRoomMid": "59e6d09b705deb72706503b1", "Class_Room_Name": "1085292002763", "ClassROomStatus": 2 }, { "Class_Room_Adreess": "一楼", "ClassRoomMid": "59e6d09b705deb72706503b2", "Class_Room_Name": "1020329264710", "ClassROomStatus": 2 }, { "Class_Room_Adreess": "高中部教学楼", "ClassRoomMid": "5ad87cbc705deb53d881f6ed", "Class_Room_Name": "201", "ClassROomStatus": 2 }, { "Class_Room_Adreess": "高中部教学楼", "ClassRoomMid": "5ad87cbc705deb53d881f6ee", "Class_Room_Name": "202", "ClassROomStatus": 2 }, { "Class_Room_Adreess": "高中部教学楼", "ClassRoomMid": "5ad87cbc705deb53d881f6ef", "Class_Room_Name": "111班", "ClassROomStatus": 0 }, { "Class_Room_Adreess": "高中部教学楼", "ClassRoomMid": "5ad87cbc705deb53d881f6f0", "Class_Room_Name": "112班", "ClassROomStatus": 2 } } ] } ] }
4 控制班牌重启接口
请求方式: get
请求参数
ClassRoomMID
http://0.0.0.0:8008//api/admin/v1/restart/?ClassRoomMID=5ad87cbc705deb53d881f6ef
返回结果
{ "code": 200, "message": "success", "data": "" }
标签:leave span 通过 status adr arch 返回结果 rest min
原文地址:https://www.cnblogs.com/crazymagic/p/9025765.html