产品分页查询
GET
/api/v1/product产品分页查询
请求参数
Query 参数
name
string
产品名称
page
integer
页码
page_size
integer
每页数量
product_model
string
产品型号
product_type
string
产品类型
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
object
必需
list
array [object {14}]
必需
total
integer
必需
示例
{
"code": 200,
"message": "Get product list successfully",
"data": {
"list": [
{
"id": "2dee3c7d-f7e1-8704-53fe-599d40d85207",
"name": "Earth-温湿度产品",
"description": "xxxxxxxxxxxx",
"product_type": "环境传感器",
"product_key": "xxxxxxxx",
"product_model": "E-000001",
"image_url": "./images/E.png",
"created_at": "2024-01-12T23:38:52.095064Z",
"remark": "xxxxx",
"additional_info": {
"xx": "xxx",
"xxx": "xxx"
},
"tenant_id": "2f4306df",
"device_config_id": "a54d83e7-2858-8331-3783-f936c4198a66",
"device_config_name": "Earth-温湿度配置"
}
],
"total": 1
}
}
最后修改时间: 9 个月前