<img src="https://solution-community.wps.cn/uploads/post/5hCCediPGjC.png" alt="image.png"/>
<img src="https://solution-community.wps.cn/uploads/post/5hCCediPGjC.png" alt="image.png"/>
页面上时这样<img src="https://solution-community.wps.cn/uploads/post/5hCCmJzamyY.png" alt="image.png"/>
这种情况,一般是由于接口某次错误返回了user id=null。
/users 接口一般需要做下容错处理,比如在您的业务系统中,用户user_id=abc ,但是在业务系统中用户被删除了,但是文档打开后,文档是有“abc” 用户的使用痕迹的,这时候也会去取该用户,这时可以容错处理为 {id:"abc", name:"已删除用户"} 或者 {id:"abc", name:"匿名用户"} 等等 。
这个信息更多用于在web界面上显示,比如 xxx 修改了文档,以及头像等等
刚才的问题现在可以了,但是还是有其他异常,两位老师帮忙看看这是什么问题 <img src="https://solution-community.wps.cn/uploads/post/5hCHWALEbEd.png" alt="image.png"/>
还有个问题,当sdk的版本是2.0.xx的时候,会报这个错误<img src="https://solution-community.wps.cn/uploads/post/5hD3hyg6BS9.png" alt="image.png"/>