https://www.bilibili.com/video/av89567916
WeChat mini program project: GitHub: https://github.com/iamdarcy/hioshop-miniprogram
Electronic version management background: https://github.com/iamdarcy/hioshop-admin
Web version management background: https://github.com/iamdarcy/hioshop-admin-web
Online demo: https://demo.qilelab.com/hioshop
Username: qilelab.com
Password: qilelab.com
Alibaba Cloud Hosting: Up to 20% off, check it out now
git clone https://github.com/iamdarcy/hioshop-server
CREATE SCHEMA `hiolabsDB` DEFAULT CHARACTER SET utf8mb4 ;
Note that the database character encoding is utf8mb4
const mysql = require('think-model-mysql');
module.exports = {
handle: mysql,
database: 'hiolabsDB',
prefix: 'hiolabs_',
encoding: 'utf8mb4',
host: '127.0.0.1',
port: '3306',
user: 'root',
password: '123123', //你的密码
dateStrings: true
};
src/common/config/config.js
// default config
module.exports = {
default_module: 'api',
weixin: {
appid: '', // 小程序 appid
secret: '', // 小程序密钥
mch_id: '', // 商户帐号ID
partner_key: '', // 微信支付密钥
notify_url: '' // 微信异步通知,例:https://www.hiolabs.com/api/pay/notify
}
};
npm install
npm start
If the installation is unsuccessful, search cnpm on Baidu and replace it with Taobao source. After replacement, use cnpm i to install dependencies.
After startup, access http://127.0.0.1:8360/ locally
It is not necessary to use the service of Qiniu Cloud. You can use local storage. However, you need to develop the upload function yourself. You can refer to upload.js in the project.
For customer service, just use the customer service function officially provided by the WeChat applet
Please refer to the WeChat mini program project: https://github.com/iamdarcy/hioshop-miniprogram
Project address server: https://github.com/iamdarcy/hioshop-server
Backend management: https://github.com/iamdarcy/hioshop-admin
WeChat mini program: https://github.com/iamdarcy/hioshop-miniprogram
This project will continue to be updated and maintained. If you like it, don’t forget to star. If you have any questions, you can contact me through WeChat or QQ group. Thank you for your attention.
My WeChat ID is lookgxl. You can join the group by answering this question when joining the group.
Haifeng Shop Mini Program Mall Group 1 824781955 (full)
Haifeng Shop Mini Program Mall Group 2 932101372 (full)
Haifeng Shop Mini Program Mall Group 3 1130172339 (full)
Haifeng Shop Mini Program Mall Group 4 652317079