Commit 9f1bc1bc 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 59e81da6
......@@ -130,7 +130,7 @@ pagehelper:
# Swagger配置
swagger:
# 是否开启swagger
enabled: true
enabled: false
# 请求前缀
pathMapping: /
......@@ -151,4 +151,8 @@ minio:
# 定时任务开启状态
task:
scheduling: false
\ No newline at end of file
scheduling: false
management:
endpoints:
enabled-by-default: false
......@@ -132,7 +132,7 @@ pagehelper:
# Swagger配置
swagger:
# 是否开启swagger
enabled: true
enabled: false
# 请求前缀
pathMapping: /
......@@ -154,4 +154,8 @@ minio:
# 定时任务开启状态
task:
scheduling: false
\ No newline at end of file
scheduling: false
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