3 Star 3 Fork 5

GO-ADMIN/go-admin-server

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
config-example.json 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
KristenGe 提交于 2024-12-09 10:00 +08:00 . chore: some optimizations
{
"environment": "dev",
"listen": ":14040",
"contextPath": "/admin",
"log": {
"level": "info",
"stackTrace": false,
"loginLog": true,
"opLog": true,
"exceptionLog": true
},
"encryptKey": "d6Jpjw78g978nm6gBGT92bpRCR719u5t",
"cookie": {
"authenticationKey": "2g7y4gX6wpQXGJG6MPgGpT37YdyymPH2",
"secretKey": "BUN6Ee6bSW8N5NbAW8R7Tpy88uP1jkz9",
"path": "/",
"maxAge": 2592000,
"secure": false,
"httpOnly": true
},
"trustedProxies": "127.0.0.1",
"pprof": {
"enable": false,
"port": 8082
},
"mysql": {
"host": "127.0.0.1",
"port": 3306,
"username": "user",
"password": "123456",
"database": "ml_admin",
"connPool": {
"maxOpenConns": 50,
"maxIdleConns": 1,
"connMaxLifetime": 3600,
"connMaxIdleTime": 30
},
"showSql": false,
"autoMigrate": false
},
"email": {
"mc": {
"host": "smtp.163.com",
"port": 465,
"username": "demo-user",
"password": "123456",
"from": "公司名<demo-user@163.com>",
"useSSL": true
},
"systemName": "XX管理系统",
"accessUrl": "http://127.0.0.1:8080"
},
"grpc": {
"enable": true,
"addr": ":15050"
},
"workDir": "./.goadmin",
"scriptExecuteTimeout": 180
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/go-admin_1/go-admin-server.git
git@gitee.com:go-admin_1/go-admin-server.git
go-admin_1
go-admin-server
go-admin-server
demo-version

搜索帮助