GET api/package/page/list/{itemType}/{lang}?isMobile={isMobile}
根据類別获取Page
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
itemType |
類別 |
string |
Required |
lang |
语言 |
string |
Default value is zh-hk |
isMobile |
是否為手機端內容 |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
根据類別获取Page
ReturnResultOfListOfPageBaseContractName | Description | Type | Additional information |
---|---|---|---|
data | Collection of PageBaseContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": [ { "id": 1, "lang": "sample string 2", "parentpage": 3, "tagname": "sample string 4", "title": "sample string 5", "shortcontent": "sample string 6", "content": "sample string 7", "createdate": "2024-12-23T20:01:51.317446+08:00", "metatagkeywords": "sample string 9", "metatagdescription": "sample string 10", "orderno": 11 }, { "id": 1, "lang": "sample string 2", "parentpage": 3, "tagname": "sample string 4", "title": "sample string 5", "shortcontent": "sample string 6", "content": "sample string 7", "createdate": "2024-12-23T20:01:51.317446+08:00", "metatagkeywords": "sample string 9", "metatagdescription": "sample string 10", "orderno": 11 } ], "code": 1, "message": "sample string 2" }