nidapeng
2024-04-25 9c7f5f394387099037d4af06f7abefc1b78628ea
server/visits/dmvisit_admin/src/main/resources/bootstrap.yml
@@ -1,6 +1,12 @@
spring:
  application:
    name: visitsAdmin
    # 安全配置
  security:
    # 验签公钥地址
    oauth2:
      authorizationserver:
        token-uri: https://
  cloud:
    loadbalancer:
      enabled: true
@@ -28,3 +34,40 @@
        namespace: dmvisit
        username: nacos
        password: nacos
# swagger配置
#knife4j:
#  # 开启增强配置
#  enable: true
#  # 开启生产环境屏蔽
#  # production: true
#  setting:
#    language: zh_cn
#  # 账户密码
#  basic:
#    enable: true
#    username: abc
#    password: abc
#
## Api文档信息
## springdoc-openapi 项目配置
#springdoc:
#  swagger-ui:
#    path: /doc.html
#    tags-sorter: alpha
#    operations-sorter: alpha
#  api-docs:
#    path: /v3/api-docs
#  group-configs:
#    - group: 'default'
#      paths-to-match: '/**'
#  info:
#    title: ${spring.application.name} - API
#    version: 3.0.0
#    description: 接口文档
#    contact:
#      name: 1
#      url: 1
#      email: 1
#    license:
#      name: Apache 2.0
#      url: https://www.apache.org/licenses/LICENSE-2.0.html