WeBankBlockchain/WeBASE

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-app-sdk:
image

Webase-Node-Manager对应的接口:
image

因为Webase-Node-Manager的接口需要传入groupId,而SDK没有传参,导致初始化时缺少请求参数,无法调用成功。
另外,即使手动传入groupId去调用Webase-Node-Manager,依然返回空指针错误。

Webase-Node-Manager返回:{"code":202010,"message":"request front fail","data":null,"attachment":null}

image

已更新 webase 为 3.1.0,webase-app-sdk 为 1.5.6-SNAPSHOT 版本,这两个版本修复了兼容问题