GET Favorite/GetFavoriteList?pagenum={pagenum}&lastid={lastid}

获取收藏消息列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pagenum

每页数量

integer

Required

lastid

加在的最后一条id,没有则0

integer

Required

Body Parameters

None.

Response Information

Resource Description

获取收藏消息列表

Collection of GMessageDatasResult
NameDescriptionTypeAdditional information
id

id

integer

None.

title

标题

string

None.

message

消息

string

None.

url

消息链接

string

None.

type

类型

integer

None.

image

图片

string

None.

ord

排序

integer

None.

favorite

收藏

integer

None.

create_dt

创建时间

date

None.

Response Formats

application/json, text/json

Sample:
{
  "code": "200",
  "data": [
    {
      "id": 1,
      "title": "sample string 2",
      "message": "sample string 3",
      "url": "sample string 4",
      "type": 5,
      "image": "sample string 6",
      "ord": 7,
      "favorite": 8,
      "create_dt": "2025-12-10T11:25:31.5532662+08:00"
    },
    {
      "id": 1,
      "title": "sample string 2",
      "message": "sample string 3",
      "url": "sample string 4",
      "type": 5,
      "image": "sample string 6",
      "ord": 7,
      "favorite": 8,
      "create_dt": "2025-12-10T11:25:31.5532662+08:00"
    }
  ],
  "msg": null
}

application/xml, text/xml

Sample:
<ArrayOfGMessageDatasResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HL.Basis.Web.Models.Result">
  <GMessageDatasResult>
    <create_dt>2025-12-10T11:25:31.5532662+08:00</create_dt>
    <favorite>8</favorite>
    <id>1</id>
    <image>sample string 6</image>
    <message>sample string 3</message>
    <ord>7</ord>
    <title>sample string 2</title>
    <type>5</type>
    <url>sample string 4</url>
  </GMessageDatasResult>
  <GMessageDatasResult>
    <create_dt>2025-12-10T11:25:31.5532662+08:00</create_dt>
    <favorite>8</favorite>
    <id>1</id>
    <image>sample string 6</image>
    <message>sample string 3</message>
    <ord>7</ord>
    <title>sample string 2</title>
    <type>5</type>
    <url>sample string 4</url>
  </GMessageDatasResult>
</ArrayOfGMessageDatasResult>