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
  • im

im · Changes

Page history
xiaolong.jin created page: get_company_info authored Nov 24, 2016 by 互联网应用开发's avatar 互联网应用开发
Hide whitespace changes
Inline Side-by-side
Showing with 3 additions and 2 deletions
+3 -2
  • im.md im.md +3 -2
  • No files found.
im.md
View page @ e4e99e9b
...@@ -65,9 +65,8 @@ var uid_sinature = RSF.getCookie('uid_sinature'); ...@@ -65,9 +65,8 @@ var uid_sinature = RSF.getCookie('uid_sinature');
```js ```js
var shuidiIm = new ShuidiIm(); var shuidiIm = new ShuidiIm();
shuidiIm.init();
shuidiIm.onMessage = function(message){ shuidiIm.onMessage = function(message){
console.log(message.message); console.log(message);
}; };
shuidiIm.ready = function(data){ shuidiIm.ready = function(data){
console.log('聊天服务准备完毕'); console.log('聊天服务准备完毕');
...@@ -80,4 +79,6 @@ var uid_sinature = RSF.getCookie('uid_sinature'); ...@@ -80,4 +79,6 @@ var uid_sinature = RSF.getCookie('uid_sinature');
shuidiIm.sendMessage(msg); shuidiIm.sendMessage(msg);
},1000); },1000);
}; };
shuidiIm.init();
``` ```
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