Initial commit

This commit is contained in:
yan.y
2024-03-27 23:25:08 +08:00
commit 0884384e91
127 changed files with 9353 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
{
"config": "charset=utf8mb4\u0026parseTime=True\u0026loc=Local",
"db-name": "pet_house",
"log-mode": false,
"log-zap": "error",
"max-idle-conns": 20,
"max-open-conns": 5,
"password": "ifish7mysql",
"path": "139.196.24.156:3306",
"username": "root"
}
+6
View File
@@ -0,0 +1,6 @@
{
"db": 7,
"addr": "172.31.64.5:6379",
"password": "z6r0tcpllx3wLceM",
"pool-size": 10
}
+32
View File
@@ -0,0 +1,32 @@
{
"captcha": {
"img-height": 80,
"img-width": 240,
"key-long": 4
},
"cors": {
"access-credentials": "true",
"access-expose-headers": "Content-Length,Access-Control-Allow-Origin,Access-Control-Allow-Headers,Content-Type",
"access-headers": "Content-Type,AccessToken,X-CSRF-Token, Authorization, Token,X-Token,X-User-Id",
"access-methods": "POST,GET",
"access-origin": "*"
},
"except": {
"method": "",
"uri": ""
},
"file-max-size": 1024,
"limit": {
"burst": 5,
"disable": true,
"limit": 0
},
"session-timeout": 60,
"system": {
"addr": "127.0.0.1:18005",
"db-type": "mysql",
"level": "debug",
"time-format": "2006-01-02 15:04:05",
"tls": false
}
}
+7
View File
@@ -0,0 +1,7 @@
{
"appId": "1",
"secret": "2",
"token": "3",
"aesKey": "4",
"msgDataFormat": "5"
}
+11
View File
@@ -0,0 +1,11 @@
{
"director": "logs",
"encode-level": "LowercaseColorLevelEncoder",
"format": "console",
"level": "info",
"link-name": "latest_log",
"log-in-console": true,
"prefix": "[per-house]\t",
"show-line": true,
"stacktrace-key": "stacktrace"
}