获取推客的绑定状态接口错误,使用sharer_openid参数查询,返回的状态结果一直都是0,而sharer_appid不知道在哪个接口可以获取到;还有调用
wx.openBusinessView(
{
businessType: 'CreatorApplyments',
queryString: '',
extraData: {
commissionType: number,
commissionRatio: number,
headSupplierAppid: xxx
}
}
)
绑定成功或失败后有没有回调数据可供判断结果
您好,查询相关结果后,如果没有绑定的,需要拉起带货助手的绑定页面,推客手动绑定之后,才能拉到推客的信息,返回 0,说明没有绑定
我的使用sharer_openid字段查询状态,就算是做了绑定sharer_appid返回的也是空,而且状态都是未绑定;你是用的哪个参数获取的
获取推客的注册状态,以及和机构的绑定状态
https://developers.weixin.qq.com/doc/store/leagueheadsupplier/API/promotion/sharer/getpromoterregisterandbindstatus.html
这个接口是有返回 sharer_appid 这个字段的,只是官方文档还没更新,我试过的返回结果: {"errcode":0,"errmsg":"ok","bind_status":0,"register_status":2,"register_business_type":"","register_query_string":"","bind_business_type":"CreatorApplyments","bind_query_string":"redirect_url=%2Fauth%2Fpages%2Fauthorization%2Findex&is_simple_register=1&is_from_promoter=1","sharer_appid":""}。 不过这个得需要推客和推客机构做了绑定后才会返回这个字段,否则这个字段是没有的,至于怎么绑定这个我也还在研究,没研究明白呢,有知道的也可以告知我一下