🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/outschool/statisticsbyDate` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |uid|否|string|班主任uid(管理员不需要)|-| |type|是|string|1是上午入校情况,2是中午离校情况,3是下午入校情况,4是下午离校情况| | |day_time|是|string|日期(格式:2016-08-17)| | |schoolid|是|string|学校id| | |xd|是|string|学段| | **返回示例** - error ```json { "ret": -1, "msg": "参数错误或者未定义" } ``` - success ```json { "ret": 0, "msg": "ok", "data": [ { "xd": "小学", "njmc": "2010", "classname": "0", "wrxcount": 2, "latecount": 1, "userinfo": [ { "uid": "1033145308280423141", "realname": "吴苹丽", "info": "暂未入校,请及时联系" }, { "uid": "1033145308280423169", "realname": "学生", "info": "暂未入校,请及时联系" }, { "uid": "1033145308280423052", "realname": "许源革许源革许源革许源革许源革许源革许源革许源革许源革许源革", "info": "17:28打卡,迟到" } ] }, { "xd": "小学", "njmc": "2010", "classname": "xiaoxuesanban", "wrxcount": 1, "latecount": 1, "userinfo": [ { "uid": "1033145308280423141", "realname": "吴苹丽", "info": "暂未入校,请及时联系" }, { "uid": "1033145308280423052", "realname": "许源革许源革许源革许源革许源革许源革许源革许源革许源革许源革", "info": "17:28打卡,迟到" } ] }, { "xd": "小学", "njmc": "2010", "classname": "一班", "userinfo": [ { "uid": "1033145308280422992", "realname": "zoufeng", "info": "暂未入校,请及时联系" } ], "wrxcount": 1, "latecount": 0 }, { "xd": "小学", "njmc": "2010", "classname": "这个是哥哥的班级", "userinfo": [ { "uid": "1033145308280423498", "realname": "zhuzhenzhen", "info": "暂未入校,请及时联系" } ], "wrxcount": 1, "latecount": 0 }, { "xd": "小学", "njmc": "2013", "classname": "二班", "wrxcount": 3, "latecount": 1, "userinfo": [ { "uid": "1033145308280423445", "realname": "gggvcf", "info": "暂未入校,请及时联系" }, { "uid": "1033145308280423449", "realname": "xxzccx", "info": "暂未入校,请及时联系" }, { "uid": "1033145308280423498", "realname": "zhuzhenzhen", "info": "暂未入校,请及时联系" }, { "uid": "1033145308280423472", "realname": "vvvhhgv", "info": "17:28打卡,迟到" } ] } ] } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2017-03-13 08:44:42 * * * * *