企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[TOC] ## 列表 ~~~[api] get:/statistics <<< success { "code": 0, "data": { "data": [ { "total_num": 5,//当天总房间数 "new_num": 0,//当天新增房间数 "rent_num": 1,//当天已租房间数 "renew_num": 0,//当天续租房间数 "rented_num": 4,//当天未租房间数 "create_time": "2018-01-10 12:28:18"//记录时间 } ], "currentPage": 1,//当前页 "pageNumber": 10,//页码 "count": 1//总条数 } } <<< error { "code": -1, "msg": "参数错误!" } ~~~ ## 分页 ~~~[api] get:/statistics/pag *int:currentPage=1#当前页 *int:pageNumber=10#页码 <<< success { "code": 0, "data": { "data": [ { "total_num": 5, "new_num": 0, "rent_num": 1, "renew_num": 0, "rented_num": 4, "create_time": "2018-01-10 12:28:18" } ] } } <<< error { "code": -1, "msg": "参数错误!" } ~~~ ## 搜索 ~~~[api] get:/statistics/search *string:search=2017-02-02#日期 <<< success { "code": 0, "data": { "data": [ { "total_num": 5, "new_num": 0, "rent_num": 1, "renew_num": 0, "rented_num": 4, "create_time": "2018-01-10 12:28:18" } ] } } <<< error { "code": -1, "msg": "参数错误!" } ~~~