xgqfrms / cdn

:rocket: :airplane: :bullettrain_side: free CDN for everyone who wants to speed his website freely!:smile:
https://cdn.xgqfrms.xyz
Apache License 2.0
17 stars 19 forks source link

IM & SDK #43

Open xgqfrms opened 5 years ago

xgqfrms commented 5 years ago

IM & SDK

shit docs & shit demos

http://docs-im.easemob.com/im/400webimintegration/websdk1.1.1

https://console.easemob.com/app-detail/user

http://docs-im.easemob.com/im/web/intro/basic http://docs-im.easemob.com/im/web/basics/message


https://zhaomenghuan.js.org/blog/5%2Bapp-web-im.html

xgqfrms commented 5 years ago

http://10.1.5.202/IM/index.html

https://cdn.xgqfrms.xyz/IM/index.html

xgqfrms commented 5 years ago

WebIM.utils.setCookie("token", `tk`, 1);

WebIM.utils.getCookie("token");
xgqfrms commented 5 years ago

utils

cookie


WebIM.utils.setCookie("token", `tk`, 1);

document.cookie;
"token=tk"

WebIM.utils.getCookie("token");
// {token: "tk"}

WebIM.utils.getCookie().token;
// "tk"