54 lines
1.2 KiB
INI
54 lines
1.2 KiB
INI
[app]
|
|
port = 8666
|
|
debug = true
|
|
tokenTimeout = 43200
|
|
jwtSecret = TaZT61grR6V7A4JAJZlX47mc89lGCKYo
|
|
pwdSecret = oEjVsLBOtyMwxJRy2fXgM1ibfY9Paq6l
|
|
emailHandleUrl = "http://8.210.153.118:8665/check"
|
|
sendEmail= "wannengchongplatform@gmail.com"
|
|
sendEmailPassword= "zP40vxfjDBmmgq229D55"
|
|
noticeUrl = http://8.210.160.78:8066/notice/one
|
|
|
|
[mysql.system]
|
|
;https://github.com/go-sql-driver/mysql
|
|
host = 192.168.0.118
|
|
port = 3306
|
|
dbname = platform_system_db
|
|
username = root
|
|
password = YnHuUuYTSEdgv7
|
|
charset = utf8mb4
|
|
collation = utf8mb4_general_ci
|
|
loc = Asia/Shanghai
|
|
maxAllowedPacket = 8388608
|
|
timeout = 30s
|
|
readTimeout = 1m30s
|
|
writeTimeout = 1m30s
|
|
|
|
[mysql.register]
|
|
;https://github.com/go-sql-driver/mysql
|
|
host = 192.168.0.118
|
|
port = 3306
|
|
dbname = platform_register_db
|
|
username = root
|
|
password = YnHuUuYTSEdgv7
|
|
charset = utf8mb4
|
|
collation = utf8mb4_general_ci
|
|
loc = Asia/Shanghai
|
|
maxAllowedPacket = 8388608
|
|
timeout = 30s
|
|
readTimeout = 1m30s
|
|
writeTimeout = 1m30s
|
|
|
|
[redis.manage]
|
|
;https://godoc.org/github.com/go-redis/redis#Options
|
|
host = 127.0.0.1
|
|
port = 6377
|
|
password = nekopara999
|
|
database = 0
|
|
dialTimeout = 5
|
|
readTimeout = 3
|
|
writeTimeout = 3
|
|
idleTimeout = 300
|
|
poolSize = 10
|
|
minIdleConns = 10
|