接口描述


功能描述

手机前端根据学号查询个人用电量

接口地址

/room/mobile/queryElecTotal

接口权限

请求方式

GET

补充说明


请求报文


JSON对象


序号

参数名称

类型

必填

备注

1

personNo

字符串

人员号(即学工号)

2

yearMonth

字符串

查询年份(如2025)或月份(如202502),输入年份,则按月汇总,输入月份,则按日汇总







响应报文


响应报文中的data为JSON数组


序号

参数名称

类型

必填

备注

1

period



月份或者日期

2

elecTotal



用电量(度)






Created with the Personal Edition of HelpNDoc: Make Documentation a Breeze with HelpNDoc's Clean and Efficient User Interface