POST Message/GeMessageList

获取消息列表

Request Information

URI Parameters

None.

Body Parameters

ApiMessageRequestModel
NameDescriptionTypeAdditional information
pageSize

每页多少条(默认10条)

integer

None.

pageIndex

当前是第几页(默认第1页)

integer

None.

msgtype

分类(默认全部)

msgtypeEnum

None.

Request Formats

application/json, text/json

Sample:
{
  "pageSize": 1,
  "pageIndex": 2,
  "msgtype": 0
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ApiMessageRequestModel'.

Response Information

Resource Description

消息分类

ApiResultModelOfApiPageModelOfAPIMessageModel
NameDescriptionTypeAdditional information
Code

CodeEnum

None.

Msg

string

None.

Result

ApiPageModelOfAPIMessageModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 0,
  "Msg": "sample string 1",
  "Result": {
    "pageSize": 1,
    "pageIndex": 2,
    "pageCount": 3,
    "totalCount": 4,
    "Data": [
      {
        "msgid": 1,
        "Sys_order": "sample string 2",
        "Sys_CoID": "111",
        "sendid": 4,
        "sendname": "sample string 5",
        "reciverid": 6,
        "recivername": "sample string 7",
        "msgstatus": 8,
        "readstatus": 9,
        "msgcontent": "sample string 10",
        "msgdate": "2025-10-30 09:06",
        "msgtype": 0,
        "MsgTypeName": "消息",
        "readMsgCount": 12,
        "MsgSendDate": "10月30日 09:06",
        "SendUserUrl": "sample string 13"
      },
      {
        "msgid": 1,
        "Sys_order": "sample string 2",
        "Sys_CoID": "111",
        "sendid": 4,
        "sendname": "sample string 5",
        "reciverid": 6,
        "recivername": "sample string 7",
        "msgstatus": 8,
        "readstatus": 9,
        "msgcontent": "sample string 10",
        "msgdate": "2025-10-30 09:06",
        "msgtype": 0,
        "MsgTypeName": "消息",
        "readMsgCount": 12,
        "MsgSendDate": "10月30日 09:06",
        "SendUserUrl": "sample string 13"
      }
    ]
  }
}