Fixed callback bug in front end file upload & move some constants to config.yaml

This commit is contained in:
Granty1
2020-04-25 10:14:17 +08:00
parent 283830fc53
commit 386a4d38b4
6 changed files with 143 additions and 123 deletions
+4 -1
View File
@@ -18,16 +18,19 @@ mysql:
max-idle-conns: 10
max-open-conns: 10
log-mode: true
#sqlite 配置
sqlite:
path: db.db
log-mode: true
config: 'loc=Asia/Shanghai'
# oss configuration
qiniu:
access-key: '25j8dYBZ2wuiy0yhwShytjZDTX662b8xiFguwxzZ'
secret-key: 'pgdbqEsf7ooZh7W3xokP833h3dZ_VecFXPDeG5JY'
bucket: 'qm-plus-img'
img-path: 'http://qmplusimg.henrongyi.top'
# redis configuration
redis:
addr: '127.0.0.1:6379'