POST Search/PngSuCais
获取Png图片作品
Request Information
URI Parameters
None.
Body Parameters
PngSuCaiRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| pageSize |
每页多少条(默认10条)[可选] |
integer |
None. |
| pageIndex |
当前是第几页(默认第1页)[可选] |
integer |
None. |
| typeid |
分类[可选] |
integer |
None. |
| key |
搜索词[可选] |
string |
None. |
| direction |
图片方向(默认:任意方位)[0:任意方位|1:水平| 2: 垂直][可选] |
integer |
None. |
| imageWidth |
宽度[可选] |
integer |
None. |
| imageHeight |
高度[可选] |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"pageSize": 1,
"pageIndex": 2,
"typeid": 3,
"key": "sample string 4",
"direction": 5,
"imageWidth": 6,
"imageHeight": 7
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiResultModelOfApiPageModelOfpngsucaiModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | CodeEnum |
None. |
|
| Msg | string |
None. |
|
| Result | ApiPageModelOfpngsucaiModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 0,
"Msg": "sample string 1",
"Result": {
"pageSize": 1,
"pageIndex": 2,
"pageCount": 3,
"totalCount": 4,
"Data": [
{
"id": 1,
"pid": 2,
"name": "sample string 3",
"type": 4,
"typeName": "sample string 5",
"imgSmall": "sample string 6",
"imgRegular": "sample string 7",
"imgOriginal": "sample string 8",
"related_photos": "sample string 9",
"width": 10,
"height": 11,
"Views": 12,
"isdown": 13,
"addtime": "2025-10-29 21:29",
"lastuptime": "2025-10-29 21:29",
"State": 16,
"relatedList": [
{
"id": 1,
"name": "sample string 2",
"imgSmall": "sample string 3",
"width": 4,
"height": 5
},
{
"id": 1,
"name": "sample string 2",
"imgSmall": "sample string 3",
"width": 4,
"height": 5
}
]
},
{
"id": 1,
"pid": 2,
"name": "sample string 3",
"type": 4,
"typeName": "sample string 5",
"imgSmall": "sample string 6",
"imgRegular": "sample string 7",
"imgOriginal": "sample string 8",
"related_photos": "sample string 9",
"width": 10,
"height": 11,
"Views": 12,
"isdown": 13,
"addtime": "2025-10-29 21:29",
"lastuptime": "2025-10-29 21:29",
"State": 16,
"relatedList": [
{
"id": 1,
"name": "sample string 2",
"imgSmall": "sample string 3",
"width": 4,
"height": 5
},
{
"id": 1,
"name": "sample string 2",
"imgSmall": "sample string 3",
"width": 4,
"height": 5
}
]
}
]
}
}