commit
3d9fbbac63
|
@ -10,6 +10,8 @@ cat>"${filename}"<<EOF
|
|||
# jwt configuration
|
||||
jwt:
|
||||
signing-key: 'qmPlus'
|
||||
expires-time: 604800
|
||||
buffer-time: 86400
|
||||
|
||||
# zap logger configuration
|
||||
zap:
|
||||
|
@ -65,8 +67,9 @@ mysql:
|
|||
username: 'root'
|
||||
password: 'Aa@6447985'
|
||||
max-idle-conns: 10
|
||||
max-open-conns: 10
|
||||
max-open-conns: 100
|
||||
log-mode: false
|
||||
log-zap: ""
|
||||
|
||||
# local configuration
|
||||
local:
|
||||
|
|
|
@ -7,7 +7,7 @@ all: check gva initdb run
|
|||
|
||||
gva:
|
||||
go env -w GO111MODULE=on
|
||||
go env -w GOPROXY=https://goproxy.io,direct
|
||||
go env -w GOPROXY=https://goproxy.io,direct
|
||||
go build -o ${GVA} cmd/main.go
|
||||
|
||||
initdb:
|
||||
|
|
|
@ -20,4 +20,4 @@ type GetAuthorityId struct {
|
|||
AuthorityId string
|
||||
}
|
||||
|
||||
type Empty struct {}
|
||||
type Empty struct{}
|
||||
|
|
Loading…
Reference in New Issue