webase-app-sdk未适配webase3.0.2,启动直接报错
zzq517 opened this issue · 1 comments
zzq517 commented
FISCO版本:3.2.0
Webase版本:3.0.2
Webase-Node-Manager:3.0.2
webase-app-sdk:1.5.5
问题复现:
webase-app-sdk启动时会去检测配置,然后调用Webase-Node-Manager的/api/basicInfo接口,但是sdk的接口名称是/api/basicInfo,而Webase-Node-Manager的/api/basicInfo接口需要传groupId,sdk没有进行适配,导致启动报错。
因为Webase-Node-Manager的接口需要传入groupId,而SDK没有传参,导致初始化时缺少请求参数,无法调用成功。
另外,即使手动传入groupId去调用Webase-Node-Manager,依然返回空指针错误。
Webase-Node-Manager返回:{"code":202010,"message":"request front fail","data":null,"attachment":null}
![image](https://private-user-images.githubusercontent.com/36058483/252524084-d086889c-0a79-42ac-9677-95ad27157d73.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMyNDI0MjgsIm5iZiI6MTcyMzI0MjEyOCwicGF0aCI6Ii8zNjA1ODQ4My8yNTI1MjQwODQtZDA4Njg4OWMtMGE3OS00MmFjLTk2NzctOTVhZDI3MTU3ZDczLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA5VDIyMjIwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZiYzliMTNmZTEwN2NjNDgzMWNlODJjZDY1NWYwNGQ3NGEyZGI5ZGFkMGRjYzQyYTM4MDgzOGM3ZTEzZTNkNWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.0C94fK4EK2qK71m84AtPTs39937y-XS6Qb1sSGgu4Gs)
CodingCattwo commented
已更新 webase 为 3.1.0,webase-app-sdk 为 1.5.6-SNAPSHOT 版本,这两个版本修复了兼容问题