Commit 5d58c63c authored by yuanshuo's avatar yuanshuo

2024/11/28修改配置文件

1.关闭swagger注解
swagger:
  # 是否开启swagger
  enabled: false
 2.
application.yml添加
management:
  endpoints:
    enabled-by-default: false
用来关闭监控
application-prod.yml添加
management:
    endpoints:
      enabled-by-default: false
用来关闭监控
parent f19f39e5
...@@ -130,7 +130,7 @@ pagehelper: ...@@ -130,7 +130,7 @@ pagehelper:
# Swagger配置 # Swagger配置
swagger: swagger:
# 是否开启swagger # 是否开启swagger
enabled: true enabled: false
# 请求前缀 # 请求前缀
pathMapping: / pathMapping: /
...@@ -152,3 +152,7 @@ minio: ...@@ -152,3 +152,7 @@ minio:
# 定时任务开启状态 # 定时任务开启状态
task: task:
scheduling: true scheduling: true
management:
endpoints:
enabled-by-default: false
...@@ -132,7 +132,7 @@ pagehelper: ...@@ -132,7 +132,7 @@ pagehelper:
# Swagger配置 # Swagger配置
swagger: swagger:
# 是否开启swagger # 是否开启swagger
enabled: true enabled: false
# 请求前缀 # 请求前缀
pathMapping: / pathMapping: /
...@@ -155,3 +155,6 @@ minio: ...@@ -155,3 +155,6 @@ minio:
# 定时任务开启状态 # 定时任务开启状态
task: task:
scheduling: true scheduling: true
management:
endpoints:
enabled-by-default: false
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment