Repository: rongcloud/websdk-demo Branch: master Commit: a4c6aeb29599 Files: 578 Total size: 27.0 MB Directory structure: gitextract_ajuhcao0/ ├── .gitignore ├── LICENSE ├── README.md ├── api-test/ │ ├── .gitignore │ ├── README.md │ ├── config.js │ ├── index.html │ ├── js/ │ │ ├── common/ │ │ │ ├── api-list.js │ │ │ ├── service.js │ │ │ └── utils.js │ │ ├── components/ │ │ │ ├── button.js │ │ │ ├── json-alert.js │ │ │ └── msg-expansion.js │ │ ├── login.js │ │ └── main.js │ ├── lib/ │ │ ├── js/ │ │ │ ├── RongIMLib-3.0.0.js │ │ │ ├── RongIMLib-3.0.3.js │ │ │ ├── RongIMLib-3.0.5-mentioned.js │ │ │ ├── RongIMLib-3.0.6.js │ │ │ ├── es6-promise.js │ │ │ ├── vue-2.6.10.js │ │ │ └── vue-json-pretty.js │ │ └── styles/ │ │ ├── dragula-3.7.2.css │ │ └── iview.css │ └── styles/ │ ├── main.css │ └── main.scss ├── api-test-v2/ │ ├── .gitignore │ ├── README.md │ ├── config.js │ ├── debug.html │ ├── index.html │ ├── js/ │ │ ├── common/ │ │ │ ├── api-list.js │ │ │ ├── service.js │ │ │ └── utils.js │ │ ├── components/ │ │ │ ├── button.js │ │ │ └── json-alert.js │ │ ├── login.js │ │ └── main.js │ ├── lib/ │ │ ├── js/ │ │ │ ├── RongIMLib-2.3.1-revise-20200311-222.js │ │ │ ├── RongIMLib-2.3.1-revise-20200311.js │ │ │ ├── RongIMLib-2.3.5-bugfix-zhiyuan-20190408.js │ │ │ ├── RongIMLib-2.5.1.js │ │ │ ├── RongIMLib-2.5.3.js │ │ │ ├── RongIMLib-2.5.4.js │ │ │ ├── RongIMLib-2.5.5-private.js │ │ │ ├── RongIMLib-2.5.5.js │ │ │ ├── RongIMLib-2.5.6.js │ │ │ ├── RongIMLib-2.5.9-release.js │ │ │ ├── RongIMLib-2.5.9-silent.js │ │ │ ├── RongIMLib.js │ │ │ ├── es6-promise.js │ │ │ ├── vue-2.6.10.js │ │ │ └── vue-json-pretty.js │ │ └── styles/ │ │ ├── dragula-3.7.2.css │ │ └── iview.css │ └── styles/ │ ├── main.css │ └── main.scss ├── api-test-v4/ │ ├── README.md │ ├── config.js │ ├── index.html │ ├── js/ │ │ ├── common/ │ │ │ ├── api-list.js │ │ │ ├── service.js │ │ │ └── utils.js │ │ ├── components/ │ │ │ ├── button.js │ │ │ ├── json-alert.js │ │ │ └── msg-expansion.js │ │ ├── login.js │ │ └── main.js │ ├── lib/ │ │ ├── js/ │ │ │ ├── RongIMLib-4.1.0.js │ │ │ ├── RongIMLib-4.2.0.js │ │ │ ├── es6-promise.js │ │ │ ├── vue-2.6.10.js │ │ │ └── vue-json-pretty.js │ │ └── styles/ │ │ ├── dragula-3.7.2.css │ │ └── iview.css │ └── styles/ │ ├── main.css │ └── main.scss ├── api-test.html ├── calllib-v2/ │ ├── README.md │ ├── demo.js │ ├── group.html │ ├── init.js │ ├── private.html │ ├── style/ │ │ └── main.css │ └── user-media.html ├── calllib-v3/ │ ├── README.md │ ├── docs/ │ │ ├── ready.md │ │ ├── server.md │ │ ├── show.md │ │ └── web.md │ ├── private.html │ ├── server/ │ │ ├── index.js │ │ ├── package.json │ │ └── setting.js │ ├── web/ │ │ ├── css/ │ │ │ ├── main.css │ │ │ └── main.scss │ │ ├── index.html │ │ ├── js/ │ │ │ ├── call.js │ │ │ ├── common/ │ │ │ │ ├── init.js │ │ │ │ └── utils.js │ │ │ ├── dialog.js │ │ │ ├── login.js │ │ │ └── main.js │ │ ├── lib/ │ │ │ ├── vue-2.6.7.js │ │ │ └── vue-router-3.0.2.js │ │ └── setting.js │ ├── web-ie/ │ │ ├── README.md │ │ ├── css/ │ │ │ ├── main.css │ │ │ └── main.scss │ │ ├── index.html │ │ ├── js/ │ │ │ ├── call.js │ │ │ ├── common/ │ │ │ │ ├── init.js │ │ │ │ └── utils.js │ │ │ ├── dialog.js │ │ │ ├── login.js │ │ │ └── main.js │ │ ├── lib/ │ │ │ ├── RongCallLib.3.1.5.js │ │ │ ├── RongIMLib-2.5.1.js │ │ │ ├── RongRTC-IE-3.0.4.js │ │ │ ├── promise.js │ │ │ ├── vue-2.6.7.js │ │ │ └── vue-router-3.0.2.js │ │ └── setting.js │ └── web-im-v3/ │ ├── css/ │ │ ├── main.css │ │ └── main.scss │ ├── index.html │ ├── js/ │ │ ├── call.js │ │ ├── common/ │ │ │ ├── init.js │ │ │ └── utils.js │ │ ├── dialog.js │ │ ├── login.js │ │ └── main.js │ ├── lib/ │ │ ├── vue-2.6.7.js │ │ └── vue-router-3.0.2.js │ └── setting.js ├── chameleon/ │ ├── README.md │ ├── chameleon.config.js │ ├── dist/ │ │ └── wx/ │ │ ├── app.js │ │ ├── app.json │ │ ├── app.wxss │ │ ├── pages/ │ │ │ └── index/ │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ └── index.wxml │ │ └── static/ │ │ └── js/ │ │ ├── app.js │ │ ├── common.js │ │ ├── manifest.js │ │ └── pages/ │ │ └── index/ │ │ └── index.js │ ├── mock/ │ │ ├── api/ │ │ │ └── index.js │ │ └── template/ │ │ └── index.php │ ├── npm-shrinkwrap.json │ ├── package.json │ └── src/ │ ├── app/ │ │ └── app.cml │ ├── assets/ │ │ └── js/ │ │ └── RongIMLib-2.4.0.js │ ├── components/ │ │ └── demo-com/ │ │ └── demo-com.cml │ ├── pages/ │ │ └── index/ │ │ └── index.cml │ ├── router.config.json │ └── store/ │ ├── actions.js │ ├── getters.js │ ├── index.js │ ├── mutations.js │ └── state.js ├── chatroom/ │ ├── chatroom.html │ ├── chatroom.js │ ├── chatroom.sdk.js │ └── demo.html ├── chatroom-h5/ │ ├── README.md │ ├── demo.html │ ├── js/ │ │ ├── RongIMLib-2.5.12.js │ │ ├── chatroom.js │ │ ├── demo.js │ │ ├── like.js │ │ ├── mock.js │ │ └── render.js │ └── style/ │ └── chatroom.css ├── chatroom-h5-gif/ │ ├── README.md │ ├── demo.html │ ├── js/ │ │ ├── RongIMLib-2.5.12.js │ │ ├── chatroom.js │ │ ├── demo.js │ │ ├── like.js │ │ ├── mock.js │ │ └── render.js │ └── style/ │ └── chatroom.css ├── chrm-kv-demo/ │ ├── README.md │ ├── css/ │ │ ├── main.css │ │ └── main.scss │ ├── index.html │ ├── js/ │ │ ├── init.js │ │ ├── main.js │ │ └── utils.js │ └── setting.js ├── common-im/ │ ├── css/ │ │ ├── common.css │ │ └── main.css │ ├── index.html │ └── js/ │ └── service.js ├── connect-check.html ├── cs/ │ ├── jx/ │ │ ├── .gitignore │ │ ├── .project │ │ ├── Gruntfile.js │ │ ├── README.md │ │ ├── RongIMemoji.js │ │ ├── cs.css │ │ ├── cs.html │ │ ├── cs.js │ │ ├── dist/ │ │ │ └── cs.html │ │ ├── emoji.js │ │ ├── package.json │ │ ├── phiz.js │ │ ├── qiniu-upload.js │ │ ├── template.js │ │ ├── templates/ │ │ │ ├── button.html │ │ │ ├── chat.html │ │ │ ├── closebefore.html │ │ │ ├── conversation.html │ │ │ ├── endconversation.html │ │ │ ├── evaluate.html │ │ │ ├── imageView.html │ │ │ ├── import.html │ │ │ ├── leaveword.html │ │ │ ├── main.html │ │ │ ├── message.html │ │ │ ├── messageTemplate.html │ │ │ └── userInfo.html │ │ ├── ui.html │ │ └── utils.js │ └── sobot/ │ ├── .gitignore │ ├── Gruntfile.js │ ├── README.md │ ├── RongIMEmoji.js │ ├── cs.css │ ├── cs.html │ ├── cs.js │ ├── dist/ │ │ └── cs.html │ ├── emoji.js │ ├── package.json │ ├── qiniu.js │ ├── template.js │ ├── templates/ │ │ ├── button.html │ │ ├── chat.html │ │ ├── closebefore.html │ │ ├── conversation.html │ │ ├── endconversation.html │ │ ├── evaluate.html │ │ ├── evaluateItem.html │ │ ├── imageView.html │ │ ├── import.html │ │ ├── leaveword.html │ │ ├── main.html │ │ ├── message.html │ │ ├── messageTemplate.html │ │ └── userInfo.html │ ├── test.html │ ├── ui.html │ ├── upload.js │ └── utils.js ├── desktop/ │ ├── downloadExtra.html │ ├── file.html │ ├── index.html │ ├── screenshot.html │ ├── system.html │ └── window.html ├── electron/ │ ├── desktop_share.html │ ├── init.js │ ├── main.js │ ├── normal.html │ ├── package.json │ ├── requirejs-in-node.html │ ├── sdk/ │ │ ├── RongIMLib-2.3.3.js │ │ ├── RongIMLib-2.5.1.js │ │ └── init.js │ └── user_media.html ├── electron-vue/ │ ├── .babelrc │ ├── .electron-vue/ │ │ ├── build.js │ │ ├── dev-client.js │ │ ├── dev-runner.js │ │ ├── webpack.main.config.js │ │ ├── webpack.renderer.config.js │ │ └── webpack.web.config.js │ ├── .eslintignore │ ├── .eslintrc.js │ ├── .gitignore │ ├── .travis.yml │ ├── README.md │ ├── appveyor.yml │ ├── package.json │ ├── src/ │ │ ├── index.ejs │ │ ├── main/ │ │ │ ├── index.dev.js │ │ │ └── index.js │ │ └── renderer/ │ │ ├── App.vue │ │ ├── assets/ │ │ │ └── .gitkeep │ │ ├── components/ │ │ │ └── Init.vue │ │ ├── main.js │ │ ├── router/ │ │ │ └── index.js │ │ └── store/ │ │ ├── index.js │ │ └── modules/ │ │ ├── Counter.js │ │ └── index.js │ ├── static/ │ │ ├── .gitkeep │ │ └── js/ │ │ ├── RongEmoji-2.2.7.js │ │ └── RongIMLib-2.5.1.js │ └── test/ │ ├── .eslintrc │ ├── e2e/ │ │ ├── index.js │ │ ├── specs/ │ │ │ └── Launch.spec.js │ │ └── utils.js │ └── unit/ │ ├── index.js │ ├── karma.conf.js │ └── specs/ │ └── LandingPage.spec.js ├── electron-vue-sdk-v3/ │ ├── .babelrc │ ├── .electron-vue/ │ │ ├── build.js │ │ ├── dev-client.js │ │ ├── dev-runner.js │ │ ├── webpack.main.config.js │ │ ├── webpack.renderer.config.js │ │ └── webpack.web.config.js │ ├── .eslintignore │ ├── .eslintrc.js │ ├── .gitignore │ ├── .travis.yml │ ├── README.md │ ├── appveyor.yml │ ├── package.json │ ├── src/ │ │ ├── index.ejs │ │ ├── main/ │ │ │ ├── index.dev.js │ │ │ └── index.js │ │ └── renderer/ │ │ ├── App.vue │ │ ├── assets/ │ │ │ └── .gitkeep │ │ ├── components/ │ │ │ └── Init.vue │ │ ├── main.js │ │ ├── router/ │ │ │ └── index.js │ │ └── store/ │ │ ├── index.js │ │ └── modules/ │ │ ├── Counter.js │ │ └── index.js │ ├── static/ │ │ ├── .gitkeep │ │ └── js/ │ │ ├── RongEmoji-2.2.7.js │ │ ├── RongIMLib-2.5.1.js │ │ └── RongIMLib-3.0.1-dev.es.js │ └── test/ │ ├── .eslintrc │ ├── e2e/ │ │ ├── index.js │ │ ├── specs/ │ │ │ └── Launch.spec.js │ │ └── utils.js │ └── unit/ │ ├── index.js │ ├── karma.conf.js │ └── specs/ │ └── LandingPage.spec.js ├── emoji.html ├── faq.md ├── histroy-messages.html ├── im/ │ ├── .gitignore │ ├── Gruntfile.js │ ├── README.md │ ├── emoji.js │ ├── im.css │ ├── im.html │ ├── im.js │ ├── libs/ │ │ ├── RongEmoji.js │ │ ├── qiniu-upload.js │ │ └── utils.js │ ├── package.json │ ├── template.js │ └── templates/ │ ├── button.html │ ├── chat.html │ ├── closebefore.html │ ├── conversation.html │ ├── endconversation.html │ ├── evaluate.html │ ├── imMain.html │ ├── imMessage.html │ ├── imMessageTemplate.html │ ├── imageView.html │ ├── import.html │ ├── leaveword.html │ ├── main.html │ ├── message.html │ ├── messageTemplate.html │ └── userInfo.html ├── im-ui-mod/ │ ├── component-ui.css │ ├── reset.css │ └── ui.html ├── init-muti.html ├── init-muti.js ├── init.js ├── integrate/ │ ├── chat/ │ │ ├── chat-guide.html │ │ ├── chat.css │ │ ├── chat.html │ │ ├── chat.js │ │ └── chat.json │ ├── conversation-list/ │ │ ├── conversation-list-guide.html │ │ ├── conversation-list.css │ │ ├── conversation-list.html │ │ ├── conversation-list.js │ │ └── conversation-list.json │ ├── guide.html │ ├── init.html │ ├── init.js │ ├── integrate.css │ ├── lib/ │ │ ├── jquery-3.1.1.js │ │ └── vue-2.1.4.js │ ├── login/ │ │ ├── login.css │ │ ├── login.html │ │ ├── login.js │ │ └── login.json │ ├── message/ │ │ ├── message-guide.html │ │ ├── message.css │ │ ├── message.html │ │ ├── message.js │ │ ├── message.json │ │ └── upload/ │ │ ├── qiniu.js │ │ ├── upload.js │ │ └── uploadInit.js │ ├── public/ │ │ ├── js/ │ │ │ ├── public-article.js │ │ │ ├── public-chat.js │ │ │ ├── public-common.js │ │ │ ├── public-info.js │ │ │ ├── public-list.js │ │ │ └── public-search.js │ │ ├── public-guide.html │ │ ├── public-mock-data.json │ │ ├── public.css │ │ ├── public.html │ │ └── template/ │ │ ├── public-article.html │ │ ├── public-chat.html │ │ ├── public-info.html │ │ ├── public-list.html │ │ └── public-search.html │ ├── reset.css │ └── server-api.md ├── js/ │ ├── message-output.js │ └── pre-check.js ├── json-view/ │ ├── jquery.jsonview.js │ └── jsonview.css ├── lib/ │ ├── RongCallLib.js │ ├── RongEmoji-dev.js │ ├── RongIMVoice-2.2.6.js │ ├── jquery-3.1.1.js │ ├── require.js │ ├── seajs-2.1.1.js │ └── vue-2.1.4.js ├── local-sdks/ │ ├── README.md │ ├── emoji.html │ ├── im.html │ ├── sdk/ │ │ ├── RongIMLib-2.3.4.js │ │ ├── RongIMLib-2.3.5.js │ │ ├── RongIMLib-2.4.0.js │ │ ├── RongIMLib-2.5.0.js │ │ ├── RongIMLib-2.5.1.js │ │ └── RongIMLib-2.5.3.js │ ├── voice-amr-base64.json │ └── voice.html ├── miniprogram-upload/ │ ├── README.md │ ├── app.js │ ├── app.json │ ├── app.wxss │ ├── pages/ │ │ ├── index/ │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── lib/ │ │ │ └── RongIMLib-3.0.4-dev.js │ │ └── services.js │ ├── project.config.json │ ├── sitemap.json │ └── utils/ │ └── util.js ├── nav/ │ ├── README.md │ ├── css/ │ │ ├── iconfont.css │ │ └── style.css │ ├── index.html │ └── js/ │ ├── config.js │ └── index.js ├── react/ │ ├── im.html │ ├── react-16.2.js │ └── react-dom-16.2.js ├── require.html ├── res/ │ ├── rongcloud.css │ └── voice-amr-base64.json ├── rongrtc/ │ ├── README.md │ ├── api/ │ │ └── api.html │ ├── im.js │ ├── mock.js │ ├── screenshare/ │ │ ├── screenshare.html │ │ └── screenshare.js │ └── utils.js ├── rtc/ │ ├── README.md │ ├── app/ │ │ ├── README.md │ │ ├── config.js │ │ ├── css/ │ │ │ ├── common.css │ │ │ └── main.css │ │ ├── index.html │ │ ├── js/ │ │ │ ├── core.js │ │ │ └── utils.js │ │ └── lib/ │ │ ├── RongRTCEngine.js │ │ └── adapter.js │ └── whiteboard/ │ └── src/ │ ├── blink-wb.html │ ├── config.js │ ├── css/ │ │ ├── app.css │ │ ├── enyo.css │ │ ├── main.css │ │ ├── style.css │ │ ├── sweetalert.css │ │ ├── upload.css │ │ └── uploadfile.css │ ├── js/ │ │ ├── Queue.src.js │ │ ├── blink/ │ │ │ └── blinkEwb.js │ │ ├── common.js │ │ ├── core.js │ │ ├── ewb/ │ │ │ ├── App.js │ │ │ ├── Connection.js │ │ │ ├── Svg.js │ │ │ └── WhiteBoardApi.js │ │ ├── lib/ │ │ │ ├── enyo-ilib/ │ │ │ │ └── ilib/ │ │ │ │ └── locale/ │ │ │ │ ├── ilibmanifest.json │ │ │ │ ├── scripts.json │ │ │ │ └── und/ │ │ │ │ └── CN/ │ │ │ │ └── localeinfo.json │ │ │ ├── enyo-ilib.js │ │ │ ├── enyo.js │ │ │ ├── layout.js │ │ │ └── onyx.js │ │ ├── raphael-min.js │ │ └── raphael.inline_text_editing.js │ └── resources/ │ ├── localeinfo.json │ └── strings.json ├── sdk-unitest/ │ ├── emoji/ │ │ ├── emoji.js │ │ ├── run.html │ │ └── testcase.js │ ├── im/ │ │ ├── RongIMLib-2.2.7.js │ │ ├── run.html │ │ └── testcase/ │ │ ├── 1-staticCheck.js │ │ ├── 2-connect.js │ │ └── 3-sendMessage.js │ ├── index.html │ ├── jasmine/ │ │ ├── 1.2.0/ │ │ │ ├── jasmine-html.js │ │ │ ├── jasmine.css │ │ │ └── jasmine.js │ │ └── guide.js │ └── libs/ │ ├── ua.js │ └── underscore.js ├── seajs.html ├── sticker/ │ ├── README.md │ ├── extend-stickers/ │ │ └── extend-sticker.js │ ├── init.js │ ├── message.html │ ├── require.html │ └── sticker.html ├── switch-users.html ├── unreadcount/ │ └── unreadcount.js ├── user-group.js ├── video/ │ ├── flowplayer/ │ │ ├── flowplayer-3.2.13.js │ │ ├── flowplayer-3.2.18.swf │ │ └── flowplayer.controls-3.2.16.swf │ └── player.html ├── voice-autoplay.html ├── voice.html ├── vue/ │ ├── im/ │ │ ├── config.js │ │ ├── conversation-list.js │ │ ├── css/ │ │ │ ├── common.css │ │ │ └── main.css │ │ ├── im.html │ │ ├── im.js │ │ ├── js/ │ │ │ └── service.js │ │ ├── lib/ │ │ │ ├── vue-2.1.4.js │ │ │ └── vue-router-2.1.1.js │ │ ├── message-list.js │ │ └── routes.js │ ├── normal.html │ ├── require.html │ └── vue-2.1.4.js ├── vue-cli/ │ ├── .eslintignore │ ├── .gitignore │ ├── README.md │ ├── babel.config.js │ ├── package.json │ ├── public/ │ │ └── index.html │ └── src/ │ ├── App.vue │ ├── components/ │ │ └── Init.vue │ └── main.js └── vue-cli-4/ ├── .gitignore ├── README.md ├── babel.config.js ├── package.json ├── public/ │ └── index.html └── src/ ├── App.vue ├── components/ │ └── Init.vue └── main.js ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitignore ================================================ node_modules .DS_Store electron-vue/node_modules electron-vue/dist electron-vue/build calllib-v3/server/node_modules calllib-v3/server/package-lock.json calllib-v3/web/node_modules ================================================ FILE: LICENSE ================================================ MIT License Copyright (c) 2017 融云 RongCloud Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================ FILE: README.md ================================================ # 引导说明 写给前端新手的工程管理建议: [https://support.rongcloud.cn/kb/NzUx](https://support.rongcloud.cn/kb/NzUx) 开发 IM 的基本思路: [https://support.rongcloud.cn/kb/NzQ4](https://support.rongcloud.cn/kb/NzQ4) 消息类型与文件格式: [http://support.rongcloud.cn/kb/NjE0](http://support.rongcloud.cn/kb/NjE0) 用信息处理: [http://support.rongcloud.cn/kb/NjQ5](http://support.rongcloud.cn/kb/NjQ5) # WebSDK demo WebSDK API 示例(基于 IM SDK V4): [https://rongcloud.github.io/websdk-demo/api-test-v4](https://rongcloud.github.io/websdk-demo/api-test-v4/) WebSDK API 示例(基于 IM SDK V3): [https://rongcloud.github.io/websdk-demo/api-test](https://rongcloud.github.io/websdk-demo/api-test/) SDK源码: [https://github.com/rongcloud/rongcloud-web-im-sdk-v2](https://github.com/rongcloud/rongcloud-web-im-sdk-v2) 常见问题: [https://github.com/rongcloud/websdk-demo/blob/master/faq.md](https://github.com/rongcloud/websdk-demo/blob/master/faq.md) Require SDK: [https://rongcloud.github.io/websdk-demo/require.html](https://rongcloud.github.io/websdk-demo/require.html) Require SDK in Electron: [https://github.com/rongcloud/websdk-demo/tree/master/electron/requirejs-in-node.html](https://github.com/rongcloud/websdk-demo/tree/master/electron/requirejs-in-node.html) Normal SDK in Electron: [https://github.com/rongcloud/websdk-demo/tree/master/electron/normal.html](https://github.com/rongcloud/websdk-demo/tree/master/electron/normal.html) WebSDK in electron-vue: [https://github.com/rongcloud/websdk-demo/tree/master/electron-vue](https://github.com/rongcloud/websdk-demo/tree/master/electron-vue) 引用本地 SDK: 将 [WebSDK](https://cdn.ronghub.com/RongIMLib-2.3.0.js) 下载至本地引用即可,[初始化示例](https://github.com/rongcloud/websdk-demo/tree/master/local-sdks) 初始化、消息监听: [https://rongcloud.github.io/websdk-demo/connect-check.html](https://rongcloud.github.io/websdk-demo/connect-check.html) 消息监听回调队列: [https://rongcloud.github.io/websdk-demo/init-muti.html](https://rongcloud.github.io/websdk-demo/init-muti.html) 获取历史消息: [https://rongcloud.github.io/websdk-demo/histroy-messages.html](https://rongcloud.github.io/websdk-demo/histroy-messages.html) 聊天室自定义属性: [https://github.com/rongcloud/websdk-demo/tree/master/chrm-kv-demo](https://github.com/rongcloud/websdk-demo/tree/master/chrm-kv-demo) WebSDK Vue Require 示例: [https://rongcloud.github.io/websdk-demo/vue/require.html](https://rongcloud.github.io/websdk-demo/vue/require.html) WebSDK Vue Normal 示例: [https://rongcloud.github.io/websdk-demo/vue/normal.html](https://rongcloud.github.io/websdk-demo/vue/normal.html) WebSDK Vue CLI 3.x 示例: [https://github.com/rongcloud/websdk-demo/tree/master/vue-cli](https://github.com/rongcloud/websdk-demo/tree/master/vue-cli) WebSDK Vue CLI 4.x 示例: [https://github.com/rongcloud/websdk-demo/tree/master/vue-cli-4](https://github.com/rongcloud/websdk-demo/tree/master/vue-cli-4) WebSDK React 示例: [https://rongcloud.github.io/websdk-demo/react/im.html](https://rongcloud.github.io/websdk-demo/react/im.html) WebSDK SeaJS 示例: [https://rongcloud.github.io/websdk-demo/seajs.html](https://rongcloud.github.io/websdk-demo/seajs.html) # 扩展组件 Component Emoji: [https://rongcloud.github.io/websdk-demo/emoji.html](https://rongcloud.github.io/websdk-demo/emoji.html) 视频播放(Video + Flash): [https://rongcloud.github.io/websdk-demo/video/player.html](https://rongcloud.github.io/websdk-demo/video/player.html) 声音播放: [https://rongcloud.github.io/websdk-demo/voice.html](https://rongcloud.github.io/websdk-demo/voice.html) 上传组件: [https://github.com/rongcloud/rongcloud-web-im-upload](https://github.com/rongcloud/rongcloud-web-im-upload) # 集成项目 集成指南: [https://rongcloud.github.io/websdk-demo/integrate/guide.html](https://rongcloud.github.io/websdk-demo/integrate/guide.html) Web 聊天室 (弹幕效果):[https://rongcloud.github.io/websdk-demo/chatroom/chatroom.html](https://rongcloud.github.io/websdk-demo/chatroom/chatroom.html) Web IM(无框架依赖): [https://rongcloud.github.io/websdk-demo/im/im.html](https://rongcloud.github.io/websdk-demo/im/im.html) Web IM(Angular): [https://github.com/rongcloud/rongcloud-web-im-widget](https://github.com/rongcloud/rongcloud-web-im-widget) Web IM H5(Angular): [https://github.com/rongcloud/rongcloud-web-im-widget-h5](https://github.com/rongcloud/rongcloud-web-im-widget-h5) Web 对接佳信客服(无框架依赖): [https://rongcloud.github.io/websdk-demo/cs/jx/cs.html](https://rongcloud.github.io/websdk-demo/cs/jx/cs.html) Web 对接智齿客服(无框架依赖): [https://rongcloud.github.io/websdk-demo/cs/sobot/cs.html](https://rongcloud.github.io/websdk-demo/cs/sobot/cs.html) # SealTalk 项目源码 SealTalk Server: [https://github.com/sealtalk/sealtalk-server](https://github.com/sealtalk/sealtalk-server) SealTalk Web: [https://github.com/sealtalk/sealtalk-web](https://github.com/sealtalk/sealtalk-web) SealTalk Desktop: [https://github.com/sealtalk/sealtalk-desktop](https://github.com/sealtalk/sealtalk-desktop) ================================================ FILE: api-test/.gitignore ================================================ .node_modules .sass-cache *.css.map ================================================ FILE: api-test/README.md ================================================ # api-test ================================================ FILE: api-test/config.js ================================================ (function (win) { var isDebug = false; var im = { appkey: 'n19jmcy59f1q9', token: 'Kn2p4uokgY5AZOFVsKTbKq+YsUIoF3ojin3K277sfOnEb+B6ZpahsTOCVisdS43pwz7SnsSF0xxiLfygEojZP7ywLi39+nOPq12llTIt1oc=', navi: '', targetId: 'api_test_target', // customCMP: '', isPolling: false, }; if (!isDebug) { delete im.cmpUrl; } var config = { im: im, isDebug: isDebug, debugConf: { autoRun: false, isShowMsg: false } }; win.RongIM = win.RongIM || {}; win.RongIM = { config: config, components: {} }; })(window); ================================================ FILE: api-test/index.html ================================================
成功次数: {{runInfo.runCount}}
成功 Api 个数: {{runInfo.successApiCount}}
失败 Api 个数: {{runInfo.failApiList.length}}
注: 以下 Api 按钮可拖拽移动顺序, 点击运行全部按钮, 按当前展示顺序运行 Api
{{currentOutput.title}}
耗时: {{currentOutput.consumedTime}} ms
参数: {{toJSON(currentOutput.params)}}
返回值:
时间: {{output.time}}
耗时: {{output.consumedTime}} ms
参数: {{toJSON(output.params)}}
返回值: {{toJSON(output.result)}}
提示: {{RunType[runType].prompt}}