加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
config.yaml 980 Bytes
一键复制 编辑 原始数据 按行查看 历史
server:
run-mode: 'release'
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'
wechat:
app_id:
app_secret:
token: yshop-gin
encoding_aes_key:
express:
eBusinessId: 1607734
appKey: 81f43a2e-f504-45c4-9b54-2637d59f8190
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化