漏洞处理
关闭swagger2的/v2/api-docs
springfox:
documentation:
auto-startup: false
enabled: false
# 在代码中关闭swagger
new Docket(DocumentationType.SWAGGER_2)
.enable(false)
关闭/actuator
management:
endpoints:
web:
base-path: /
exposure:
exclude: '*'