2024-08-09 12:51:38 +08:00
|
|
|
server:
|
|
|
|
port: 9003
|
|
|
|
|
|
|
|
spring:
|
|
|
|
application:
|
2024-08-21 23:54:32 +08:00
|
|
|
name: xdclass-product-service
|
|
|
|
cloud:
|
|
|
|
#注册中心地址
|
|
|
|
nacos:
|
|
|
|
discovery:
|
|
|
|
server-addr: 8.134.32.140:8848
|
2024-08-09 12:51:38 +08:00
|
|
|
|
2024-08-26 23:38:30 +08:00
|
|
|
#消息队列
|
|
|
|
rabbitmq:
|
|
|
|
host: 134.175.219.253
|
|
|
|
port: 5672
|
|
|
|
virtual-host: /
|
|
|
|
password: jieyuu
|
|
|
|
username: admin
|
|
|
|
#开启手动确认消息
|
|
|
|
listener:
|
|
|
|
simple:
|
|
|
|
acknowledge-mode: manual
|
|
|
|
|
2024-08-09 12:51:38 +08:00
|
|
|
#数据库配置
|
|
|
|
datasource:
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
url: jdbc:mysql://134.175.219.253:3306/xdclass_product?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
|
|
|
username: root
|
|
|
|
password: 59ae8683c59fead903132a8d440bd7d9fd4936529d1d6f45f9d41111d7537bdd
|
|
|
|
redis:
|
|
|
|
host: 134.175.219.253
|
|
|
|
password: 123456
|
|
|
|
port: 8000
|
|
|
|
|
|
|
|
#配置plus打印sql日志
|
|
|
|
mybatis-plus:
|
|
|
|
configuration:
|
|
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
|
|
|
|
#设置日志级别,ERROR/WARN/INFO/DEBUG,默认是INFO以上才显示
|
|
|
|
logging:
|
|
|
|
level:
|
|
|
|
root: INFO
|
|
|
|
|
|
|
|
|