模板套装列表
开发环境
开发环境
GET
/api/template_component/suit/search
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com/api/template_component/suit/search?colour_id&page&page_size&style_id&suit_ids' \
--header 'x-api-key: {{apiKey}}' \
--header 'x-channel;' \
--header 'x-token: {{token}}'
响应示例响应示例
{
"code": 0,
"data": {
"pagination": {
"total": 19,
"current_page": 1,
"page_size": 2
},
"list": [
{
"id": 81,
"cover_img": "//file.isheji.com/isheji-sop/0/119/styles/20221024172110271036.jpeg"
},
{
"id": 80,
"cover_img": "//file.isheji.com/isheji-sop/0/119/styles/20221024172003597548.jpeg"
}
]
},
"msg": "ok"
}
请求参数
Query 参数
colour_id
string
颜色ID
page
string
页码 默认1
page_size
string
可选
style_id
string
风格ID
suit_ids
string
可选
Header 参数
x-api-key
string
必需
示例值:
{{apiKey}}
x-channel
string
必需
x-token
string
必需
示例值:
{{token}}
返回响应
修改于 2024-04-17 06:11:15