微商城-店铺系统
软件架构说明
kelvins框架支持(gRPC,cron,queue,web支持):https://gitee.com/kelvins-io/kelvins
g2cache缓存库支持(两级缓存):https://gitee.com/kelvins-io/g2cache
1.仅构建 sh build.sh
2 运行 sh build-run.sh
3 停止 sh stop.sh
配置参考
[kelvins-server]
Environment = "dev"
[kelvins-logger]
RootPath = "./logs"
Level = "debug"
[kelvins-auth]
Token = "c9VW6ForlmzdeDkZE2i8"
TransportSecurity = false
ExpireSecond = 100
[kelvins-mysql]
Host = "127.0.0.1:3306"
UserName = "root"
Password = "xxx"
DBName = "micro_mall_shop"
Charset = "utf8mb4"
PoolNum = 10
MaxIdleConns = 5
ConnMaxLifeSecond = 3600
MultiStatements = true
ParseTime = true
[kelvins-redis]
Host = "127.0.0.1:6379"
Password = "xxxx"
DB = 1
PoolNum = 10
[email-config]
Enable = false
User = "xxxx@qq.com"
Password = "xxxx"
Host = "smtp.qq.com"
Port = "465"
- Fork 本仓库
- 新建 Feat_xxx 分支
- 提交代码
- 新建 Pull Request