企业🤖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-10-zoyTpDRj5db94f0e1a143.png](https://ask.shopxo.net/image/show/attachments-2019-10-zoyTpDRj5db94f0e1a143.png)](https://ask.shopxo.net/image/show/attachments-2019-10-zoyTpDRj5db94f0e1a143.png) ### 3、生成小程序源码包 > 包名根据当前时间命名,源码包可以删除。 [![attachments-2019-10-Z8ZNQAJI5db95037e51eb.png](https://ask.shopxo.net/image/show/attachments-2019-10-Z8ZNQAJI5db95037e51eb.png)](https://ask.shopxo.net/image/show/attachments-2019-10-Z8ZNQAJI5db95037e51eb.png) ### 4、下载源码包 [![attachments-2019-10-tijOCEmh5db9509629275.png](https://ask.shopxo.net/image/show/attachments-2019-10-tijOCEmh5db9509629275.png)](https://ask.shopxo.net/image/show/attachments-2019-10-tijOCEmh5db9509629275.png) ### 5、解压源码包,下载头条小程序开发者工具打开源码包 > 头条(字节跳动)开发者工具下载地址:[https://developer.toutiao.com/dev/cn/mini-app/develop/developer-instrument/developer-instrument-update-and-download](https://developer.toutiao.com/dev/cn/mini-app/develop/developer-instrument/developer-instrument-update-and-download) > 根据自身系统下载不同的工具,建议下载稳定版。 [![attachments-2019-10-QOEpE5bJ5db95117cfdca.png](https://ask.shopxo.net/image/show/attachments-2019-10-QOEpE5bJ5db95117cfdca.png)](https://ask.shopxo.net/image/show/attachments-2019-10-QOEpE5bJ5db95117cfdca.png) ### 6、打开开发者工具 > 解压下载的小程序包,然后打开开发者工具、使用打开方式打开解压的目录 [![attachments-2019-10-Hg6enABB5db951a37046b.png](https://ask.shopxo.net/image/show/attachments-2019-10-Hg6enABB5db951a37046b.png)](https://ask.shopxo.net/image/show/attachments-2019-10-Hg6enABB5db951a37046b.png) ### 7、再开发者工具上配置appid > 从头条(字节跳动)小程序管理后台 -> 控制台 -> 开发 中获取appid,把appid填写到开发者工具配置文件中 > [https://developer.toutiao.com/app/applist](https://developer.toutiao.com/app/applist) [![attachments-2019-10-1OWbqZUw5db9522f79e3f.png](https://ask.shopxo.net/image/show/attachments-2019-10-1OWbqZUw5db9522f79e3f.png)](https://ask.shopxo.net/image/show/attachments-2019-10-1OWbqZUw5db9522f79e3f.png) [![attachments-2019-10-icMNRdOy5db95279513be.png](https://ask.shopxo.net/image/show/attachments-2019-10-icMNRdOy5db95279513be.png)](https://ask.shopxo.net/image/show/attachments-2019-10-icMNRdOy5db95279513be.png) [![attachments-2019-10-XfpAFtDF5db9544644d71.png](https://ask.shopxo.net/image/show/attachments-2019-10-XfpAFtDF5db9544644d71.png)](https://ask.shopxo.net/image/show/attachments-2019-10-XfpAFtDF5db9544644d71.png) ### 8、上传源码包(上传后到字节跳动小程序后台 -> 发布管理 中查看并提交审核) > 版本号按照规则填写即可,比如 0.0.1 [![attachments-2019-10-Y8BUyS8L5db95463df32e.png](https://ask.shopxo.net/image/show/attachments-2019-10-Y8BUyS8L5db95463df32e.png)](https://ask.shopxo.net/image/show/attachments-2019-10-Y8BUyS8L5db95463df32e.png) [![attachments-2019-10-6pPyydcN5db954b38605b.png](https://ask.shopxo.net/image/show/attachments-2019-10-6pPyydcN5db954b38605b.png)](https://ask.shopxo.net/image/show/attachments-2019-10-6pPyydcN5db954b38605b.png) [![attachments-2019-10-RFTMaGSA5db95539ed49f.png](https://ask.shopxo.net/image/show/attachments-2019-10-RFTMaGSA5db95539ed49f.png)](https://ask.shopxo.net/image/show/attachments-2019-10-RFTMaGSA5db95539ed49f.png)