Skip to content

Commit b352365

Browse files
author
奇淼(piexlmax
authored
Update config.yaml
1 parent 0814f49 commit b352365

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

server/config.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,17 @@ jwt:
66
expires-time: 604800
77
buffer-time: 86400
88
issuer: 'qmPlus'
9+
910
# zap logger configuration
1011
zap:
1112
level: 'info'
12-
format: 'console'
1313
prefix: '[github.com/flipped-aurora/gin-vue-admin/server]'
14+
format: 'console'
1415
director: 'log'
15-
show-line: true
1616
encode-level: 'LowercaseColorLevelEncoder'
1717
stacktrace-key: 'stacktrace'
18+
max-age: 30 # 默认日志留存默认以天为单位
19+
show-line: true
1820
log-in-console: true
1921

2022
# redis configuration
@@ -33,10 +35,6 @@ email:
3335
secret: 'xxx'
3436
nickname: 'test'
3537

36-
# casbin configuration
37-
casbin:
38-
model-path: './resource/rbac_model.conf'
39-
4038
# system configuration
4139
system:
4240
env: 'public' # Change to "develop" to skip authentication for development mode
@@ -57,7 +55,7 @@ captcha:
5755
img-height: 80
5856

5957
# mysql connect configuration
60-
# 未初始化之前请勿手动修改数据库信息!!!如果一定要手动初始化请看(https://www.github.com/flipped-aurora/gin-vue-admin/server.com/docs/first
58+
# 未初始化之前请勿手动修改数据库信息!!!如果一定要手动初始化请看(https://gin-vue-admin.com/docs/first_master
6159
mysql:
6260
path: ''
6361
port: ''
@@ -71,7 +69,7 @@ mysql:
7169
log-zap: false
7270

7371
# pgsql connect configuration
74-
# 未初始化之前请勿手动修改数据库信息!!!如果一定要手动初始化请看(https://www.github.com/flipped-aurora/gin-vue-admin/server.com/docs/first
72+
# 未初始化之前请勿手动修改数据库信息!!!如果一定要手动初始化请看(https://gin-vue-admin.com/docs/first_master
7573
pgsql:
7674
path: ''
7775
port: ''
@@ -102,7 +100,8 @@ db-list:
102100

103101
# local configuration
104102
local:
105-
path: 'uploads/file'
103+
path: 'uploads/file' # 访问路径
104+
store-path: 'uploads/file' # 存储路径
106105

107106
# autocode configuration
108107
autocode:
@@ -111,12 +110,13 @@ autocode:
111110
# 请不要手动配置,他会在项目加载的时候识别出根路径
112111
root: ""
113112
server: /server
114-
server-api: /api/v1/autocode
113+
server-plug: /plugin/%s
114+
server-api: /api/v1/%s
115115
server-initialize: /initialize
116-
server-model: /model/autocode
117-
server-request: /model/autocode/request/
118-
server-router: /router/autocode
119-
server-service: /service/autocode
116+
server-model: /model/%s
117+
server-request: /model/%s/request/
118+
server-router: /router/%s
119+
server-service: /service/%s
120120
web: /web/src
121121
web-api: /api
122122
web-form: /view

0 commit comments

Comments
 (0)