maven
3 天以前 c860c506bb5b49626ca86104f241721c6b0485f7
src/main/resources/application-demo.yml
@@ -17,7 +17,7 @@
# 开发环境配置
server:
  # 服务器的HTTP端口,默认为8080
  port: 8089
  port: 9036
  servlet:
    # 应用的访问路径
    context-path: /
@@ -134,15 +134,15 @@
  # redis 配置
  redis:
    # 地址
    host: 127.0.0.1
#    host: 172.17.0.1
#    host: 127.0.0.1
    host: 172.17.0.1
    # 端口,默认为6379
    port: 6379
    # 数据库索引
    database: 0
    # 密码
    password: root2022!
#    password:
#    password: root2022!
    password:
    # 连接超时时间
    timeout: 10s
@@ -188,7 +188,7 @@
# Swagger配置
swagger:
  # 是否开启swagger
  enabled: false
  enabled: true
  # 请求前缀
  pathMapping: /dev-api