Update README.md

This commit is contained in:
hrxiang 2022-03-03 11:42:38 +08:00
parent f40d4148a8
commit f4e7eaf50e

View File

@ -5,8 +5,8 @@
```
OpenIM.iMManager.initSDK(
platform: 0, // 平台参照IMPlatform类,
apiAddr: "", // SDK的API接口地址。如http:xxx:10000
wsAddr: "", // SDK的web socket地址。如 ws:xxx:17778
apiAddr: "", // SDK的API接口地址。如http://xxx:10000
wsAddr: "", // SDK的web socket地址。如 ws://xxx:17778
dataDir: "", // 数据存储路径。如var apath =(await getApplicationDocumentsDirectory()).path
objectStorage: 'cos', // 图片服务器默认'cos'
logLevel: 6, // 日志等级默认值6