@hmscore/hms-js-hbt
v1.0.305
Published
<dl> <dt><a href="#HMS_API_REQUEST">HMS_API_REQUEST</a></dt> <dd><p>接口uri</p> </dd> <dt><a href="#push">hbt</a></dt> <dd><p>hbt 对外 JS API</p> </dd> </dl>
Downloads
9
Readme
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 | 结果 |