feat(auth): 增加内部签发小程序 token,供 Go 过渡网关换票

空密钥时拒绝签发,避免未配置环境对外开接口。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-09-15 00:26:43 +08:00
co-authored by Cursor
parent ea8d889fbe
commit 8a282e88cc
4 changed files with 75 additions and 1 deletions
+5 -1
View File
@@ -19,4 +19,8 @@ springdoc:
knife4j:
enable: true # 2.2 是否开启 Swagger 文档的 Knife4j UI 界面
setting:
language: zh_cn
language: zh_cn
# ECR-049Go 内网换小程序 token。须与 Go JAVA_INTERNAL_KEY 一致;空则拒绝签发。
auth:
internal-issue-key: ${AUTH_INTERNAL_ISSUE_KEY:}