文档
测试

查找能耗类型

GET
http://192.168.1.73:8080/api/device_type/

请求头

参数名
类型
描述
必填
Authorization
string
jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImFkbWluIiwiZXhwIjoxNTk5MDE3MTQ0LCJlbWFpbCI6IiJ9.b7ck_L64UqV-e31vjouT4rsSKxnTiqeWBBWAQfu8Mgg
必填

响应参数

参数名
类型
描述
必填
id
int
示例:1
必填
type_id
string
示例:1
必填
type_name
string
示例:电表
必填
desc
object
示例:null
必填
show_name
string
示例:电
必填

说明 / 示例

# ****以下是响应内容示例**** [ { "id": 1, "type_id": "1", "type_name": "电表", "desc": null, "show_name": "电" }, { "id": 2, "type_id": "2", "type_name": "水表", "desc": null, "show_name": "水" }, { "id": 3, "type_id": "3", "type_name": "热量表", "desc": null, "show_name": "热" }, { "id": 4, "type_id": "4", "type_name": "冷量表", "desc": null, "show_name": "冷" }, { "id": 5, "type_id": "5", "type_name": "气", "desc": null, "show_name": "气" }, { "id": 11, "type_id": "8", "type_name": "可再生能源", "desc": null, "show_name": "再生能源" } ]