1.0.305 • Published 3 years ago
@hmscore/hms-js-hbt v1.0.305
hms-js-hbt
Contents
Typedefs
HMS_API_REQUEST
接口uri
Kind: global constant
hbt
hbt 对外 JS API
Kind: global constant
hbt.agreeFollow(appId,pubId,pubName,successCallBack,failCallBack)
调用关注接口
hbt.checkFollowStatus(param, succCallback, failCallback)
检查关注状态接口
hbt.agreeFollow2(param, succCallback, failCallback)
执行关注操作接口
hbt.goPubPortal(param, succCallback, failCallback)
执行跳转服务号主页操作接口
Kind: static method of hbt
Param | Type | Description |
---|---|---|
callBack | requestCallback | 回调 |
requestCallback : function
接口的回调
Kind: global typedef
Param | Type | Description |
---|---|---|
errCode | number | 错误码 |
errMsg | string | 结果 |