多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 区域数据总览数据详情 +++ get:/api/v1/area/userloginChart areaid#区域范围id level=10#区域范围登记--10全国,9省级,8市级,7区级,6校级 datetype#//1日,2周,3月,4时间段// ,其中日、周:2019-03-01,月:2019-03格式传递 date#日期参数 enddate#datetype=4的时候有效 <<< 按月查询 { "status": 1, "info": "success", "data": [ { "year": 2018, "month": 9, "parent": 1, "teacher": 0, "student": 0, "date": "2019-3-12" }, { "year": 2019, "month": 9, "parent": 1, "teacher": 6, "student": 1, "date": "2019-3-12" }, { "year": 2019, "month": 8, "parent": 3, "teacher": 0, "student": 0, "date": "2019-3-13" } ] } <<< 按日查询 { "status": 1, "info": "success", "data": [ { "year": 2018, "month": 9, "day": 7, "parent": 2, "teacher": 6, "student": 1, "date": "2019-3-12" }, { "year": 2019, "month": 8, "day": 8, "parent": 3, "teacher": 0, "student": 0, "date": "2019-3-13" } ] } <<< 按周查询 { "status": 1, "info": "success", "data": [ { "year": 2018, "month": 9, "week": 4, "parent": 1, "teacher": 0, "student": 0, "date": "2019-3-12" }, { "year": 2019, "month": 8, "week": 5, "parent": 4, "teacher": 6, "student": 1, "date": "2019-3-13" } ] } <<< error { "status": 0, "info": "操作失败", "data": [] } +++