下面是开通的图对接的是这个文档https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/ministore/minishopopencomponent2/Introduction2.html
其他根本没法完成,因为都会出现同一个错误"errcode": 48001,"errmsg": "api unauthorized
如获取商家信息:
问:明明已经开通了自定义交易组件了,为什么调用小程序自定义交易组件的api还是会出现api unauthorized
你好,请参考接口文档:https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/ministore/minishopopencomponent2/API/account/get_info.html和https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/ministore/minishopopencomponent2/m_guideline.html
需要开通组件,才有接口权限。
从图中可以看到,组件是开通的了,已经到了接入的这个步骤了,但是调用https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/ministore/minishopopencomponent2/API/account/get_info.html和https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/ministore/minishopopencomponent2/m_guideline.html这个你们的api基本都提示api unauthorized