| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
https://www.bilibili.com/video/av89567916
微信小程序项目:GitHub: https://github.com/iamdarcy/hioshop-miniprogram
管理后台项目:GitHub: https://github.com/iamdarcy/hioshop-admin
阿里云主机优惠季立即去看看
git clone https://github.com/iamdarcy/hioshop-server
CREATE SCHEMA `hiolabsDB` DEFAULT CHARACTER SET utf8mb4 ;
注意数据库字符编码为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
启动后,本地访问 http://127.0.0.1:8360/
请参考微信小程序项目:https://github.com/iamdarcy/hioshop-miniprogram
项目地址
服务端: https://github.com/iamdarcy/hioshop-server
后台管理:https://github.com/iamdarcy/hioshop-admin
微信小程序:https://github.com/iamdarcy/hioshop-miniprogram
本项目会持续更新和维护,喜欢别忘了 Star,有问题可通过微信、QQ群联系我,谢谢您的关注。
| Back | FazBrowse Home | New Git URL |