forked from guchengwuyue/yshop-gin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
52 lines (47 loc) · 980 Bytes
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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