代码拉取完成,页面将自动刷新
{
"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"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。