文档
测试
GET
http://192.168.1.88:8080/api/peak_valley_plain_configuration/

接口描述

获取所有峰谷平配置

请求头

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

请求参数

参数名
类型
描述
必填

响应参数

参数名
类型
描述
必填
current_page
int
示例:1
必填
next
object
示例:null
必填
count
int
示例:5
必填
results
array
数据列表
必填
id
int
示例:1
必填
period_type
string
示例:峰
必填
time_start
string
示例:08:30:00
必填
time_end
string
示例:11:30:00
必填
fee_type_name
string
示例:峰电费率
必填
previous
object
示例:null
必填
size
int
示例:10
必填
pages
int
示例:1
必填

说明 / 示例

# ****以下是响应内容示例**** { "current_page": 1, "next": null, "count": 5, "results": [ { "id": 1, "period_type": "峰", "time_start": "08:30:00", "time_end": "11:30:00", "fee_type_name": "峰电费率" }, { "id": 2, "period_type": "峰", "time_start": "18:00:00", "time_end": "23:00:00", "fee_type_name": "峰电费率" }, { "id": 3, "period_type": "平", "time_start": "07:00:00", "time_end": "08:30:00", "fee_type_name": "平电费率" }, { "id": 4, "period_type": "平", "time_start": "11:30:00", "time_end": "18:00:00", "fee_type_name": "平电费率" }, { "id": 5, "period_type": "谷", "time_start": "23:00:00", "time_end": "07:00:00", "fee_type_name": "谷电费率" } ], "previous": null, "size": 10, "pages": 1 }