ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
<div class="article-body kancloud-markdown-body"><h4><a id="_0"></a>小程序<span class="highlight">直播</span>组件是微信给开发者提供的实时视频<span class="highlight">直播</span>工具,可以帮助开发者快速通过小程序向用户提供优质的<span class="highlight">直播</span>内容,在小程序内流畅完成购买交易闭环,提升转化率;</h4> <h4><a id="_1"></a>小程序<span class="highlight">直播</span>组件包括观众端、主播端及后台管理端,其中观众端提供拉流、实时互动、订阅提醒、商品购买等能力,主播端提供开播、推流、音视频效果优化等能力,后台管理端则负责<span class="highlight">直播</span>房间、商品货架以及营销活动配置等。</h4> <p><strong>注意:必须小程序左边有<span class="highlight">直播</span>菜单并且设置-第三方设置-小程序<span class="highlight">直播</span>组件开通才能使用!!!!</strong><br><img src="https://img.kancloud.cn/f3/ca/f3ca0f71521b6379bd788146ee54fef0_1385x691.png" alt=""></p> <h2><a id="1_8"></a>1.<span class="highlight">直播</span>开通条件</h2> <p><img src="https://img.kancloud.cn/1a/db/1adbd1bee0f9895ed171f3a1a7956a98_1080x1920.png" alt=""></p> <h2><a id="2_10"></a>2.<span class="highlight">直播</span>页面展示:</h2> <p><img src="https://img.kancloud.cn/e4/81/e4816e5605a451c8189d283242e95019_717x758.png" alt=""></p> <h4><a id="_12"></a><span class="highlight">直播</span>间列表</h4> <p><img src="https://img.kancloud.cn/1d/ef/1def575ddaa673c7fca2953763bf7829_523x933.png" alt=""></p> <h4><a id="_14"></a>回放</h4> <p><img src="https://img.kancloud.cn/6e/b2/6eb2fe988ae948450ab5c9b5b2dcc7a1_539x939.png" alt=""></p> <h2><a id="3httpsreswxqqcommmbizwxampnodelogicsvr_nodedistimageshelp_0f7865pdf_17"></a>3.具体使用:<a href="https://res.wx.qq.com/mmbizwxampnodelogicsvr_node/dist/images/help_0f7865.pdf" target="_blank">官方链接</a></h2> <p>首先登陆微信公众平台-小程序后台-去创建<span class="highlight">直播</span>间<br><img src="https://img.kancloud.cn/ef/a3/efa307898df8a7f4308d8a471b24f9a5_807x459.png" alt=""><br><img src="https://img.kancloud.cn/ab/a4/aba41b4da0d04cb59dc6df457cd4b477_813x468.png" alt=""><br><img src="https://img.kancloud.cn/26/f9/26f966e87832202e064c722696ab486c_817x461.png" alt=""><br><img src="https://img.kancloud.cn/7b/ab/7babaed9be753b9fde0c3d0e80c8e249_817x468.png" alt=""><br><img src="https://img.kancloud.cn/cc/09/cc096f90ad27a5249998d880ceefe992_813x468.png" alt=""><br><img src="https://img.kancloud.cn/06/9c/069ca188bb1698235367862aaae9a7ff_804x464.png" alt=""><br><img src="https://img.kancloud.cn/68/cb/68cbdbb6e1fdcd1d70e0ecb82bac2901_803x455.png" alt=""><br><img src="https://img.kancloud.cn/25/7b/257be5f0aa8fb0dfbef74a10cb102c3c_812x456.png" alt=""><br><img src="https://img.kancloud.cn/8c/4c/8c4c87259c9e3b4f6fab1e41b66f6910_805x453.png" alt=""><br><img src="https://img.kancloud.cn/10/d1/10d1ba7a0d8aee769a113338f1ec890a_812x458.png" alt=""><br><img src="https://img.kancloud.cn/68/fe/68fed643fb3061230494ed57aa64f1df_809x459.png" alt=""><br><img src="https://img.kancloud.cn/b4/5a/b45a04c97077bac4503c1c6b882ad3c6_807x903.png" alt=""></p> <h2><a id="4_32"></a>4.商城使用手册:</h2> <h4><a id="1_33"></a>1.首先分配<span class="highlight">直播</span>权限</h4> <h4><a id="2id_35"></a>2.登陆后台-店铺管理-内容管理-<span class="highlight">直播</span>间列表获取<span class="highlight">直播</span>间列表跟<span class="highlight">直播</span>间id</h4> <p><img src="https://img.kancloud.cn/66/c6/66c6c07991e188f94788d05cafc9e687_1034x803.png" alt=""></p> <h4><a id="3_37"></a>3.在想使用的地方设置连接</h4> <p><img src="https://img.kancloud.cn/4d/7c/4d7cef90a3cae474149c854074e1b953_862x676.png" alt=""><br> 其中详情填写的是<span class="highlight">直播</span>间列表中的房间id<br><img src="https://img.kancloud.cn/0b/b5/0bb5e073e2300b7a974fb554a63bc8f9_554x446.png" alt=""></p> <h4><a id="4_41"></a>4.发布小程序:登陆微信小程序-<span class="highlight">直播</span>插件-勾选之后发布</h4> <p><img src="http://qn.infokp.cn/73c79bc3b718ea20e9b2381c2db776ae" alt=""></p> <h4><a id="5_43"></a>5.添加商品:</h4> <p>使用特定商品链接pages/goods/goods.html?id=商品id<br> 如果需要绑定特定分销商:pages/goods/goods.html?id=<strong>商品id</strong>&amp;user_id=<strong>分销商id</strong><br> 使用多商户商品链接:plugins/mch/goods/goods.html?mch_id=<strong>商户id</strong>&amp;id=<strong>商品id</strong><br> 如果需要绑定特定分销商 plugins/mch/goods/goods.html?mch_id=<strong>商户id</strong>&amp;id=<strong>商品id</strong>&amp;user_id=<strong>分销商id</strong></p> </div>