Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
shuidiapp
shuidiapp
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • 互联网应用开发
  • shuidiappshuidiapp
  • Wiki
  • get_unread_message_count

get_unread_message_count · Changes

Page history
xiaolong.jin created page: owner_log authored Dec 15, 2016 by 金小龙's avatar 金小龙
Hide whitespace changes
Inline Side-by-side
Showing with 19 additions and 4 deletions
+19 -4
  • get_unread_message_count.md get_unread_message_count.md +19 -4
  • No files found.
get_unread_message_count.md
View page @ 5455735e
......@@ -10,7 +10,6 @@
```javascript
{
action: 'get_unread_message_count',
contact_user_id: 10
}
```
......@@ -25,14 +24,30 @@ contact_user_id: 10
status: 0,
message: "请求成功",
data: {
unread_message_count: "111779"
1: {
unread_count: "1",
last_unread_message: "jin asdf",
last_unread_time: "2016-12-15 14:37:04"
},
4: {
unread_count: "1",
last_unread_message: "12苏打绿速度快放假啦舒服",
last_unread_time: "2016-12-15 14:40:00"
},
15651: {
unread_count: "2",
last_unread_message: "<img src="http://static.dev.pingansec.com/shuidi/images/emoji/em_11.png">",
last_unread_time: "2016-12-15 14:32:23"
}
}
}
```
|返回值|说明|
|:---|:---|
|unread_message_count|未读消息条数|
|unread_count|未读消息条数|
|last_unread_message|最新一条消息|
|last_unread_time|最新一条消息的发送时间|
#### 示例
http://shuidi.dev.pingansec.com/user?action=get_unread_message_count&contact_user_id=10
\ No newline at end of file
http://shuidi.dev.pingansec.com/user?action=get_unread_message_count
\ No newline at end of file
Clone repository
  • add_application
  • agree_application
  • api_desc
  • api_list
  • autobiography
  • base_info
  • branch
  • cancel_follow
  • change
  • change_applicant_name
  • change_avatar
  • change_logo
  • change_nickname
  • change_password
  • change_position
View All Pages