12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- database:
- # 数据库类型
- dialect: mysql
- # host地址
- host: 127.0.0.1
- # 端口
- port: 3306
- # 数据库名称
- db: project_management
- # 数据库用户名
- userName: root
- # 数据库密码
- password: 123456
- # 其他配置参数
- otherParams: charset=utf8mb4&parseTime=True&loc=Local
- # 最大空闲连接数
- maxIdleConn: 20
- # 最大连接数
- maxOpenConn: 200
- # 连接超时关闭时间,单位:秒
- connMaxLifetime: 60
- jwt:
- secret: "xxxxx"
- refresh_expire: 168
- Issuer: "lc_oauth"
- # 服务相关配置
- server:
- # 启动模式 debug、release
- mode: debug
- # http服务信息
- insecureServingInfo:
- # 监听端口
- port: ":9999"
- subMail:
- appid: "97173"
- signature: "f639a60e41ee0554921d89884f5ff87e"
- redis:
- addr: "192.168.11.24:6379"
- password: ""
- db: 0
- nats:
- NatsServer_Url: "nats://127.0.0.0:4222"
- swag:
- # 将环境变量 NAME_OF_ENV_VARIABLE设置为任意值,则 /swagger/*any 返回404响应
- enable: "NAME_OF_ENV_VARIABLE"
- qiniu:
- endpoint: "https://bzdcdn.baozhida.cn/"
- accessKeyID: "-8ezB_d-8-eUFTMvhOGbGzgeQRPeKQnaQ3DBcUxo"
- accessKeySecret: "KFhkYxTAJ2ZPN3ZS3euTsfWk8-C92rKgkhAMkDRN"
- bucketName: "bzdcdn"
- # 应用默认图标
- Icon:
- iconPath: "icon/icon.png"
- # pc端背景图
- BackgroundImagePc: "https://bzdcdn.baozhida.cn//UpImage/17205770412596d822-1901-407e-a55e-b0dd3518c220.png"
- # 移动端背景图
- BackgroundImageMobile: "https://bzdcdn.baozhida.cn//UpImage/17205770293e545d32-bc2a-4acd-83c5-ac969fcaeb26.png"
- # pc端启动图
- StartupDiagramPc: "https://bzdcdn.baozhida.cn//UpImage/17205770293e545d32-bc2a-4acd-83c5-ac969fcaeb26.png"
- # 移动端启动图
- StartupDiagramMobile: "https://bzdcdn.baozhida.cn//UpImage/17205770293e545d32-bc2a-4acd-83c5-ac969fcaeb26.png"
|