抽奖小程序上传前端代码默认包含4个插件:直播插件、腾讯位置服务线路规划插件、影票插件、话费折扣充值插件、实惠插件![](https://img.kancloud.cn/28/43/28437dceb671ef7ed5f741eabbb38f64_780x432.jpg)
你需要根据自己需求是否勾选这三个插件,如果勾选,则需要去小程序后台开启插件:
1、打开小程序官方后台,点击设置——第三方设置
![](https://img.kancloud.cn/68/0e/680e2f9f52adf5534d51127568796625_687x450.png)
2、点击添加插件,添加【腾讯位置服务路线规划】
![](https://img.kancloud.cn/50/23/5023cddac7d51dfe5647ae61fa813580_1274x337.png)
如果搜索不到,可以点击这里直接添加:[https://mp.weixin.qq.com/wxopen/pluginbasicprofile?action=intro&appid=wx50b5593e81dd937a&token=1225749590&lang=zh\_CN](https://mp.weixin.qq.com/wxopen/pluginbasicprofile?action=intro&appid=wx50b5593e81dd937a&token=1225749590&lang=zh_CN)
3、如果你的小程序是个人小程序,搜索不到此插件
4、添加影票插件:请点击[https://mp.weixin.qq.com/wxopen/pluginbasicprofile?action=intro&appid=wx459759608c80cf98&token=&lang=zh\_CN](https://mp.weixin.qq.com/wxopen/pluginbasicprofile?action=intro&appid=wx459759608c80cf98&token=&lang=zh_CN)直接添加
5、添加充值优惠插件:请点击[https://mp.weixin.qq.com/wxopen/pluginbasicprofile?action=intro&appid=wx92eb6fb9f1218f37&token=&lang=zh\_CN](https://mp.weixin.qq.com/wxopen/pluginbasicprofile?action=intro&appid=wx92eb6fb9f1218f37&token=&lang=zh_CN)直接添加
6、添加智能点餐插件:请点击
[https://mp.weixin.qq.com/wxopen/pluginbasicprofile?action=intro&appid=wx869ff9f322c1d2f0&token=&lang=zh\_CN](https://mp.weixin.qq.com/wxopen/pluginbasicprofile?action=intro&appid=wx869ff9f322c1d2f0&token=&lang=zh_CN)直接添加
7、添加实惠插件:请点击
[https://mp.weixin.qq.com/wxopen/plugindevdoc?appid=wx8440a8c8c378f869&lang=zh\_CN](https://mp.weixin.qq.com/wxopen/plugindevdoc?appid=wx8440a8c8c378f869&lang=zh_CN)
直接添加