2025-07-13 21:17:16 +08:00
|
|
|
server:
|
|
|
|
|
port: 8080
|
|
|
|
|
|
2025-07-16 16:15:33 +08:00
|
|
|
arrokoth:
|
2025-07-17 09:24:08 +08:00
|
|
|
logger:
|
|
|
|
|
enabled: false
|
2025-07-16 16:15:33 +08:00
|
|
|
authorization:
|
|
|
|
|
server:
|
|
|
|
|
consent-page: /oauth2/consent
|
|
|
|
|
authorization-endpoint: /oauth2/authorize
|
|
|
|
|
issuer: http://127.0.0.1
|
|
|
|
|
security:
|
|
|
|
|
web:
|
|
|
|
|
swagger-ui: false
|
|
|
|
|
login-page: /login
|
|
|
|
|
logout-success-url: /login?logout
|
|
|
|
|
permit-urls:
|
|
|
|
|
- /home/login
|
|
|
|
|
- /login/oauth2/**
|
|
|
|
|
- /oauth2/token
|
2025-07-17 09:24:08 +08:00
|
|
|
- /system/dict/getDictData
|
2025-07-16 16:15:33 +08:00
|
|
|
|
|
|
|
|
# RestApi增强配置
|
|
|
|
|
graceful-rest-response:
|
|
|
|
|
enabled: true
|
|
|
|
|
banner: true
|
|
|
|
|
print-exception-in-global-advice: true
|
|
|
|
|
origin-exception-using-detail-message: false
|
|
|
|
|
exclude-urls:
|
|
|
|
|
- "/swagger-resources"
|
|
|
|
|
- "/v3/api-docs/*"
|
|
|
|
|
- "/v2/api-docs"
|
2025-07-13 21:17:16 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
spring:
|
2025-07-14 08:33:27 +08:00
|
|
|
aop:
|
|
|
|
|
proxy-target-class: true
|
|
|
|
|
datasource:
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
url: jdbc:mysql://127.0.0.1:3306/db_base_authorization?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
username: root
|
|
|
|
|
password: yyds@8848
|
|
|
|
|
|
2025-07-13 21:17:16 +08:00
|
|
|
application:
|
|
|
|
|
name: authorization-server-standalone
|
|
|
|
|
data:
|
|
|
|
|
redis:
|
|
|
|
|
host: localhost
|
|
|
|
|
port: 6379
|
|
|
|
|
password: yyds@8848
|
|
|
|
|
lettuce:
|
|
|
|
|
pool:
|
|
|
|
|
max-active: 8 # 最大连接数
|
|
|
|
|
max-idle: 4 # 最大空闲连接
|
|
|
|
|
min-idle: 1 # 最小空闲连接
|
|
|
|
|
max-wait: 2000ms # 获取连接最大等待时间
|
|
|
|
|
|
|
|
|
|
|
2025-07-16 16:15:33 +08:00
|
|
|
|
2025-07-14 08:33:27 +08:00
|
|
|
logging:
|
|
|
|
|
level:
|
|
|
|
|
root: INFO
|
|
|
|
|
com.arrokoth: DEBUG
|
|
|
|
|
org.springdoc: INFO
|
|
|
|
|
org.springframework: INFO
|
2025-07-23 18:37:34 +08:00
|
|
|
|
|
|
|
|
#mybatis:
|
|
|
|
|
# type-aliases-package: com.arrokoth.**.domain
|
|
|
|
|
# mapper-locations: classpath*:com.arrokoth/**/mapper/xml/*.xml
|
|
|
|
|
# configuration:
|
|
|
|
|
# map-underscore-to-camel-case: true
|
|
|
|
|
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
|
#mybatis-plus:
|
|
|
|
|
# type-aliases-package: com.arrokoth.**.domain
|
|
|
|
|
# mapper-locations: classpath*:com.arrokoth/**/mapper/xml/*.xml
|
|
|
|
|
# global-config:
|
|
|
|
|
# banner: true
|
|
|
|
|
# enable-sql-runner: true
|
|
|
|
|
# configuration:
|
|
|
|
|
# map-underscore-to-camel-case: true
|
|
|
|
|
# check-config-location: true
|