Files
rp-server-psychic/oneone-auth/src/main/resources/bootstrap.yml
T
jackyu66gitandCursor 8a282e88cc feat(auth): 增加内部签发小程序 token,供 Go 过渡网关换票
空密钥时拒绝签发,避免未配置环境对外开接口。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 00:26:43 +08:00

26 lines
930 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
spring:
application:
name: auth-server
main:
allow-circular-references: true # 允许循环依赖,因为项目是三层架构,无法避免这个情况。
allow-bean-definition-overriding: true # 允许 Bean 覆盖,例如说 Feign 等会存在重复定义的服务
profiles:
active: dev
springdoc:
api-docs:
enabled: true # 1. 是否开启 Swagger 接文档的元数据
path: /v3/api-docs
swagger-ui:
enabled: true # 2.1 是否开启 Swagger 文档的官方 UI 界面
path: /swagger-ui.html
default-flat-param-object: true # 参见 https://doc.xiaominfo.com/docs/faq/v4/knife4j-parameterobject-flat-param 文档
knife4j:
enable: true # 2.2 是否开启 Swagger 文档的 Knife4j UI 界面
setting:
language: zh_cn
# ECR-049Go 内网换小程序 token。须与 Go JAVA_INTERNAL_KEY 一致;空则拒绝签发。
auth:
internal-issue-key: ${AUTH_INTERNAL_ISSUE_KEY:}