现有先程序想引入标准交易组件, 期望只有授权用户才能访问交易页面。
所以希望能查看标准交易组件的接口说明,看看能否实现此功能。
查看了https://developers.weixin.qq.com/doc/ministore/minishopopencomponent/Introduction.html文档,
里面只能看到下面两个接口,还有其他接口不,比如用户权限的检查函数?
const miniShopPlugin = requirePlugin('mini-shop-plugin');
miniShopPlugin.initHomePath('your home page path'); // 比如'/pages/index/index'
const miniShopPlugin = requirePlugin('mini-shop-plugin');
App({
onLaunch() {
miniShopPlugin.initApp(this, wx);
},
});
aaaaa对啊aa
https://developers.weixin.qq.com/miniprogram/dev/framework/ministore/minishopopencomponent2/Introduction.html
请先确定接入标准组件还是自定义组件,然后在左边的目录中找到对应的指引文档