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
@@ -0,0 +1,11 @@
{
"config": "charset=utf8mb4\u0026parseTime=True\u0026loc=Local",
"db-name": "iris-admin",
"log-mode": false,
"log-zap": "error",
"max-idle-conns": 0,
"max-open-conns": 0,
"password": "",
"path": "127.0.0.1:3306",
"username": "root"
}
+36
View File
@@ -0,0 +1,36 @@
{
"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-U-Id",
"access-methods": "POST,GET",
"access-origin": "*"
},
"except": {
"method": "",
"uri": ""
},
"file-max-size": 1024,
"limit": {
"burst": 5,
"disable": true,
"limit": 0
},
"menu": {
"method": "",
"uri": ""
},
"session-timeout": 60,
"system": {
"addr": "127.0.0.1:8085",
"db-type": "mysql",
"level": "debug",
"time-format": "2006-01-02 15:04:05",
"tls": false
}
}
+11
View File
@@ -0,0 +1,11 @@
{
"director": "logs",
"encode-level": "LowercaseColorLevelEncoder",
"format": "console",
"level": "debug",
"link-name": "latest_log",
"log-in-console": false,
"prefix": "[IRIS-ADMIN]",
"show-line": true,
"stacktrace-key": "stacktrace"
}