10 lines
337 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#微信小程序客户端代码示例
```
createWebsocketConnection()中设置当前账号和终端ID
body.data.uid = '10000';//设置你的用户ID
```
该示例使用json编解码策略没有使用protobuf所以服务端需要设置消息编码格式为json
如果使用protobuf 请使用如下SDK
cim-client-sdk/cim-uniapp-sdk