多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 为了确保正常体验商城请先按照以下步骤配置您的商城 后台登录网址:[https://app.xingda188.com](https://app.xingda188.com/) ### **进入后台步骤** ![](https://git.kancloud.cn/repos/huangfen/haha/raw/2eeaf23a0d73b5bf69e3bd758102d88943d117cf/images/888_1575971471834.png?access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NzcxOTgzNzgsImlhdCI6MTU3NzE1NTE3OCwicmVwb3NpdG9yeSI6Imh1YW5nZmVuXC9oYWhhIiwidXNlciI6eyJ1c2VybmFtZSI6Imh1YW5nZmVuIiwibmFtZSI6Ilx1NTNlM1x1NTNlZiIsImVtYWlsIjoiMTgzNjA1MDg4OUBxcS5jb20iLCJ0b2tlbiI6IjhhYjFlODNjNjVjYWU0YjgwYzAyM2UwZDc3ZjNkOTBhIiwiYXV0aG9yaXplIjp7InB1bGwiOnRydWUsInB1c2giOnRydWUsImFkbWluIjp0cnVlfX19.JXKpXbDqRM14XoFPLudpeO1fzmRh8Ol7_G5ZLgrzI1M) 2. ![](https://git.kancloud.cn/repos/huangfen/haha/raw/2eeaf23a0d73b5bf69e3bd758102d88943d117cf/images/887_1575971481011.png?access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NzcxOTgzNzgsImlhdCI6MTU3NzE1NTE3OCwicmVwb3NpdG9yeSI6Imh1YW5nZmVuXC9oYWhhIiwidXNlciI6eyJ1c2VybmFtZSI6Imh1YW5nZmVuIiwibmFtZSI6Ilx1NTNlM1x1NTNlZiIsImVtYWlsIjoiMTgzNjA1MDg4OUBxcS5jb20iLCJ0b2tlbiI6IjhhYjFlODNjNjVjYWU0YjgwYzAyM2UwZDc3ZjNkOTBhIiwiYXV0aG9yaXplIjp7InB1bGwiOnRydWUsInB1c2giOnRydWUsImFkbWluIjp0cnVlfX19.JXKpXbDqRM14XoFPLudpeO1fzmRh8Ol7_G5ZLgrzI1M) ![](https://git.kancloud.cn/repos/huangfen/haha/raw/2eeaf23a0d73b5bf69e3bd758102d88943d117cf/images/885_1575971523713.png?access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NzcxOTgzNzgsImlhdCI6MTU3NzE1NTE3OCwicmVwb3NpdG9yeSI6Imh1YW5nZmVuXC9oYWhhIiwidXNlciI6eyJ1c2VybmFtZSI6Imh1YW5nZmVuIiwibmFtZSI6Ilx1NTNlM1x1NTNlZiIsImVtYWlsIjoiMTgzNjA1MDg4OUBxcS5jb20iLCJ0b2tlbiI6IjhhYjFlODNjNjVjYWU0YjgwYzAyM2UwZDc3ZjNkOTBhIiwiYXV0aG9yaXplIjp7InB1bGwiOnRydWUsInB1c2giOnRydWUsImFkbWluIjp0cnVlfX19.JXKpXbDqRM14XoFPLudpeO1fzmRh8Ol7_G5ZLgrzI1M) 4. ![](https://git.kancloud.cn/repos/huangfen/haha/raw/2eeaf23a0d73b5bf69e3bd758102d88943d117cf/images/884_1575971548194.png?access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NzcxOTgzNzgsImlhdCI6MTU3NzE1NTE3OCwicmVwb3NpdG9yeSI6Imh1YW5nZmVuXC9oYWhhIiwidXNlciI6eyJ1c2VybmFtZSI6Imh1YW5nZmVuIiwibmFtZSI6Ilx1NTNlM1x1NTNlZiIsImVtYWlsIjoiMTgzNjA1MDg4OUBxcS5jb20iLCJ0b2tlbiI6IjhhYjFlODNjNjVjYWU0YjgwYzAyM2UwZDc3ZjNkOTBhIiwiYXV0aG9yaXplIjp7InB1bGwiOnRydWUsInB1c2giOnRydWUsImFkbWluIjp0cnVlfX19.JXKpXbDqRM14XoFPLudpeO1fzmRh8Ol7_G5ZLgrzI1M) ### **配置后台步骤**: * 1. 插件中心-->微信小程序 ![](https://box.kancloud.cn/5dc1c12cf195370987024c30d4a7d9bb_1285x725.png) * 2.从微信**小程序**公众平台里获取(公众平台网址[mp.weixin.qq.com](http://mp.weixin.qq.com/)) ,开发-->开发设置-->AppID/AppSecret小程序秘钥 (秘钥需要扫码获得,记得备份) ![](https://box.kancloud.cn/10b1b48ab821302106dc8a568d725f90_1264x857.png) **3.将商城访问网址域名填写到微信公众平台([mp.weixin.qq.com](http://mp.weixin.qq.com/))开发—开发设置—服务器域名** 扫码后添加以下两个域名: * [app.xingda188.com](http://app.xingda188.com/) * [w7resource.xingda188.com](http://w7resource.xingda188.com/) 每一个都要添加一遍! ![](https://git.kancloud.cn/repos/huangfen/haha/raw/2eeaf23a0d73b5bf69e3bd758102d88943d117cf/images/01_1576631502056.png?access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NzcxOTgzNzgsImlhdCI6MTU3NzE1NTE3OCwicmVwb3NpdG9yeSI6Imh1YW5nZmVuXC9oYWhhIiwidXNlciI6eyJ1c2VybmFtZSI6Imh1YW5nZmVuIiwibmFtZSI6Ilx1NTNlM1x1NTNlZiIsImVtYWlsIjoiMTgzNjA1MDg4OUBxcS5jb20iLCJ0b2tlbiI6IjhhYjFlODNjNjVjYWU0YjgwYzAyM2UwZDc3ZjNkOTBhIiwiYXV0aG9yaXplIjp7InB1bGwiOnRydWUsInB1c2giOnRydWUsImFkbWluIjp0cnVlfX19.JXKpXbDqRM14XoFPLudpeO1fzmRh8Ol7_G5ZLgrzI1M) **然后再次进入我们的后台,插件中心—》微信小程序,填好小程序id 跟小程序密钥。** ![](https://git.kancloud.cn/repos/huangfen/haha/raw/2eeaf23a0d73b5bf69e3bd758102d88943d117cf/images/02.png?access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NzcxOTgzNzgsImlhdCI6MTU3NzE1NTE3OCwicmVwb3NpdG9yeSI6Imh1YW5nZmVuXC9oYWhhIiwidXNlciI6eyJ1c2VybmFtZSI6Imh1YW5nZmVuIiwibmFtZSI6Ilx1NTNlM1x1NTNlZiIsImVtYWlsIjoiMTgzNjA1MDg4OUBxcS5jb20iLCJ0b2tlbiI6IjhhYjFlODNjNjVjYWU0YjgwYzAyM2UwZDc3ZjNkOTBhIiwiYXV0aG9yaXplIjp7InB1bGwiOnRydWUsInB1c2giOnRydWUsImFkbWluIjp0cnVlfX19.JXKpXbDqRM14XoFPLudpeO1fzmRh8Ol7_G5ZLgrzI1M) 若微信支付未申请好,则填写0,申请好了则填写对应的商户号,支付秘钥(具体操作请看**如何配置微信支付**章节有讲) **初步上传一个测试商品和轮播图** 商品上传方法参照商品管理——商品列表和商品分类 轮播图上传方法参照店铺管理——轮播图 保存后,回到插件中心—》微信小程序,点击小程序发布 ![](https://git.kancloud.cn/repos/huangfen/haha/raw/2eeaf23a0d73b5bf69e3bd758102d88943d117cf/images/555.png?access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NzcxOTgzNzgsImlhdCI6MTU3NzE1NTE3OCwicmVwb3NpdG9yeSI6Imh1YW5nZmVuXC9oYWhhIiwidXNlciI6eyJ1c2VybmFtZSI6Imh1YW5nZmVuIiwibmFtZSI6Ilx1NTNlM1x1NTNlZiIsImVtYWlsIjoiMTgzNjA1MDg4OUBxcS5jb20iLCJ0b2tlbiI6IjhhYjFlODNjNjVjYWU0YjgwYzAyM2UwZDc3ZjNkOTBhIiwiYXV0aG9yaXplIjp7InB1bGwiOnRydWUsInB1c2giOnRydWUsImFkbWluIjp0cnVlfX19.JXKpXbDqRM14XoFPLudpeO1fzmRh8Ol7_G5ZLgrzI1M) **上传成功后可在微信公众平台查看,并提交审核** **若小程序审核通过后,则再次进入到此页面,点击发布即可!** ![](https://git.kancloud.cn/repos/huangfen/haha/raw/2eeaf23a0d73b5bf69e3bd758102d88943d117cf/images/886.png?access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NzcxOTgzNzgsImlhdCI6MTU3NzE1NTE3OCwicmVwb3NpdG9yeSI6Imh1YW5nZmVuXC9oYWhhIiwidXNlciI6eyJ1c2VybmFtZSI6Imh1YW5nZmVuIiwibmFtZSI6Ilx1NTNlM1x1NTNlZiIsImVtYWlsIjoiMTgzNjA1MDg4OUBxcS5jb20iLCJ0b2tlbiI6IjhhYjFlODNjNjVjYWU0YjgwYzAyM2UwZDc3ZjNkOTBhIiwiYXV0aG9yaXplIjp7InB1bGwiOnRydWUsInB1c2giOnRydWUsImFkbWluIjp0cnVlfX19.JXKpXbDqRM14XoFPLudpeO1fzmRh8Ol7_G5ZLgrzI1M)