1 Star 0 Fork 178

苹果 / yshop-gin

forked from guchengwuyue / yshop-gin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config.yaml 825 Bytes
一键复制 编辑 原始数据 按行查看 历史
guchengwuyue 提交于 2021-11-26 13:49 . 增加高性能zap日志支持
server:
run-mode: 'debug'
http-port: 8000
read-timeout: 60
write-timeout: 60
app:
page-size: 10
jwt-secret: go-mall
prefix-url: 'http://127.0.0.1:8000'
runtime-root-path: 'runtime/'
image-save-path: 'upload/images/'
# MB
image-max-size: 5242880
image-allow-exts: ['.jpg','.jpeg','.png']
export-save-path: 'export/'
qrcode-save-path: 'qrcode/'
font-save-path: 'fonts/'
log-save-path: 'logs/'
Log-save-name: 'log'
Log-file-ext: 'log'
time-format: 20060102
database:
type: 'mysql'
user: 'root'
password: 'root'
host: '127.0.0.1:3306'
name: 'yshop_go'
table_prefix:
redis:
host: '127.0.0.1:6379'
password:
max_idle: 30
max_active: 30
idle_timeout: 200
zap:
log-filepath: 'runtime/logs'
log-info-filename: 'info'
log-warn-filename: 'warn'
log-fiile-ext: 'log'
Go
1
https://gitee.com/louispanda/yshop-gin.git
git@gitee.com:louispanda/yshop-gin.git
louispanda
yshop-gin
yshop-gin
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891