| | |
| | | username: root |
| | | password: 123456 |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | rabbitmq: |
| | | host: localhost |
| | | port: 5672 |
| | | username: guest |
| | | password: guest |
| | | cache: |
| | | type: redis |
| | | # Spring Boot 3:Redis 配置前缀为 spring.data.redis(spring.redis.* 已移除,沿用会导致连默认 localhost) |
| | |
| | | max-wait: -1ms |
| | | max-idle: 10 |
| | | min-idle: 0 |
| | | |
| | | # 无 RabbitMQ 时排除自动配置,避免启动失败 |
| | | autoconfigure: |
| | | exclude: |
| | | - org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration |
| | | |
| | | mybatis-plus: |
| | | configuration: |
| | | map-underscore-to-camel-case: true |
| | | log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
| | | global-config: |
| | | db-config: |
| | | logic-delete-field: delFlag |
| | |
| | | # 微信小程序(真实登录时设 stub: false 并配置 app-id / app-secret) |
| | | wechat: |
| | | miniapp: |
| | | app-id: ${WECHAT_MINI_APPID:} |
| | | app-secret: ${WECHAT_MINI_SECRET:} |
| | | stub: ${WECHAT_MINI_STUB:true} |
| | | app-id: ${WECHAT_MINI_APPID:wxe91f1af7638aa5dd} |
| | | app-secret: ${WECHAT_MINI_SECRET:a787e1a462715604e0c9528b6d8960d1} |
| | | stub: ${WECHAT_MINI_STUB:false} |
| | | |
| | | springdoc: |
| | | api-docs: |
| | |
| | | key: ${ADMIN_LOGIN_AES_KEY:SinataAdminKey01} |
| | | iv: ${ADMIN_LOGIN_AES_IV:SinataAdminIv001} |
| | | max-skew-millis: ${ADMIN_LOGIN_AES_MAX_SKEW_MILLIS:60000} |
| | | |
| | | file-upload-path: D:\tmp\ |
| | | picture-server-address: http://221.182.45.100:8881/ |