ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
### 1、下载ShopXO系统并安装成功 > 1.1、协议阅读 > 1.2、环境检查 > 1.3、数据库账号信息填写 > 1.4、安装完成(默认管理员账号:admin ,密码:shopxo) 具体可参考安装教程[https://ask.shopxo.net/article/5](https://ask.shopxo.net/article/5) ### 2、登录管理后台,配置小程序基础信息 > 2.1 密钥在百度小程序后台 开发 -> 开发设置,生成密钥 [![attachments-2019-08-iUcGejx05d5a3542cc388.png](https://ask.shopxo.net/image/show/attachments-2019-08-iUcGejx05d5a3542cc388.png)](https://ask.shopxo.net/image/show/attachments-2019-08-iUcGejx05d5a3542cc388.png) ### 3、生成小程序源码包 > 包名根据当前时间命名,源码包可以删除。 [![attachments-2019-08-wH4CbcxK5d5a3564f13f8.png](https://ask.shopxo.net/image/show/attachments-2019-08-wH4CbcxK5d5a3564f13f8.png)](https://ask.shopxo.net/image/show/attachments-2019-08-wH4CbcxK5d5a3564f13f8.png) ### ### 4、下载源码包 [![attachments-2019-08-JLrCvgLE5d5a35db2f900.png](https://ask.shopxo.net/image/show/attachments-2019-08-JLrCvgLE5d5a35db2f900.png)](https://ask.shopxo.net/image/show/attachments-2019-08-JLrCvgLE5d5a35db2f900.png) ### ### 5、解压源码包,下载百度小程序开发者工具打开源码包 > 百度开发者工具下载地址:[https://smartprogram.baidu.com/docs/develop/devtools/history/](https://smartprogram.baidu.com/docs/develop/devtools/history/) > 根据自身系统下载不同的工具,建议下载稳定版。 [![attachments-2019-08-YsfYSwPg5d5a362d32a2b.png](https://ask.shopxo.net/image/show/attachments-2019-08-YsfYSwPg5d5a362d32a2b.png)](https://ask.shopxo.net/image/show/attachments-2019-08-YsfYSwPg5d5a362d32a2b.png) ### 6、打开开发者工具 > 解压下载的小程序包,然后打开开发者工具、使用打开方式打开解压的目录 [![attachments-2019-08-2lotOzjv5d5a36925c657.png](https://ask.shopxo.net/image/show/attachments-2019-08-2lotOzjv5d5a36925c657.png)](https://ask.shopxo.net/image/show/attachments-2019-08-2lotOzjv5d5a36925c657.png) ### 7、再开发者工具上配置appid > 从百度小程序管理后台 -> 设置 -> 开发设置 中获取appid > [https://smartprogram.baidu.com/developer/home/setting.html](https://smartprogram.baidu.com/developer/home/setting.html) [![attachments-2019-08-vX9EYRlk5d5a37c4d4d7d.png](https://ask.shopxo.net/image/show/attachments-2019-08-vX9EYRlk5d5a37c4d4d7d.png)](https://ask.shopxo.net/image/show/attachments-2019-08-vX9EYRlk5d5a37c4d4d7d.png) [![attachments-2019-08-pDYLLEFV5d5a37739e125.png](https://ask.shopxo.net/image/show/attachments-2019-08-pDYLLEFV5d5a37739e125.png)](https://ask.shopxo.net/image/show/attachments-2019-08-pDYLLEFV5d5a37739e125.png) ### 8、上传源码包(上传后到百度小程序后台 -> 开发管理 中查看并提交审核) [![attachments-2019-08-OxBFx9bZ5d5a383e00f67.png](https://ask.shopxo.net/image/show/attachments-2019-08-OxBFx9bZ5d5a383e00f67.png)](https://ask.shopxo.net/image/show/attachments-2019-08-OxBFx9bZ5d5a383e00f67.png)[![attachments-2019-08-YRrgQBPO5d5a38a258b72.png](https://ask.shopxo.net/image/show/attachments-2019-08-YRrgQBPO5d5a38a258b72.png)](https://ask.shopxo.net/image/show/attachments-2019-08-YRrgQBPO5d5a38a258b72.png)