文档
测试

分类列表

POST
admin/typeList

请求参数

参数名
类型
描述
必填
page
int
页码 0是第一页
可选

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
msg
string
示例:请求成功
必填
total
int
示例:3 总条数
必填
maxpage
int
示例:1 最大页
必填
data
array
数据列表
必填
id
int
示例:3
必填
type_name
string
示例:易拉罐
必填
carbon_per
string
示例:0.10
必填
tree_per
string
示例:0.10
必填
land_per
string
示例:0.10
必填
oil_per
string
示例:0.15
必填
status
int
示例:1 1正常 2禁用
必填

说明 / 示例

{ "code": 200, "msg": "请求成功", "total": 3, "maxpage": 1, "data": [ { "id": 3, "type_name": "易拉罐", "carbon_per": "0.10", "tree_per": "0.10", "land_per": "0.10", "oil_per": "0.15", "status": 1 }, { "id": 4, "type_name": "铁", "carbon_per": "0.10", "tree_per": "0.10", "land_per": "0.10", "oil_per": "0.15", "status": 1 }, { "id": 30, "type_name": "打印纸", "carbon_per": "0.10", "tree_per": "0.10", "land_per": "0.10", "oil_per": "0.15", "status": 1 } ] }