POST Message/DelReadMsg

删除已读(支持分类|单个),如:{msgtype:0} 将会设置所有消息删除;{msgid:5} 将会设置单个消息删除

Request Information

URI Parameters

None.

Body Parameters

ApiSetReadMsgModel
NameDescriptionTypeAdditional information
msgtype

消息类型(默认全部)

msgtypeEnum

None.

msgid

消息ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "msgtype": 0,
  "msgid": 1
}

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 'ApiSetReadMsgModel'.

Response Information

Resource Description

消息分类

ApiResultModelOfString
NameDescriptionTypeAdditional information
Code

CodeEnum

None.

Msg

string

None.

Result

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 0,
  "Msg": "sample string 1",
  "Result": "sample string 2"
}