1 Star 1 Fork 1

yanshikun/bloggo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
bloggo.conf.json 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
yanshikun 提交于 2022-12-08 18:24 . QQLoginRedirectTarget
{
"projectRootPath": "/api",
"port": "9090",
"upload": {
"path": "D:/static/",
"maxSize": 10,
"maxSizeNote": "单位MB",
"url": "http://127.0.0.1:9090/static/",
"urlNote": "上传后返回的访问链接"
},
"redis": {
"address": "127.0.0.1:6379",
"username": "",
"password": "",
"database": 1,
"maxIdle": 10,
"maxActive": 100,
"idleTimeout": 1800
},
"mysql": {
"dsn": "root:root@tcp(127.0.0.1:3306)/blog?charset=utf8mb4&parseTime=true&loc=Local",
"driverName": "mysql",
"dialect": "mysql",
"maxOpenConns": 50,
"maxIdleConns": 50,
"connMaxLifetimeSecond": 600,
"slowSQLMillis": 0
},
"jwt": {
"signKey": "JWTTokenKeyStr",
"expiresAt": 86400,
"expiresAtNote": "token有效期单位(秒) 86400=24小时,2592000=30天"
},
"mail": {
"host": "smtp.qq.com",
"port": "25",
"username": "2416206063@qq.com",
"password": "hesawrnmtjcreaaa"
},
"qqLogin": {
"appId": "xxx",
"appKey": "xxx",
"defaultRedirectUrl": "https://xiaomy.xyz/oauth/login/qq",
"hasUnionid": 1,
"hasUnionidNote": "是否申请了获取unionid权限,可以使用unionid来代替openid"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/yan-shi-kun/bloggo.git
git@gitee.com:yan-shi-kun/bloggo.git
yan-shi-kun
bloggo
bloggo
master

搜索帮助