From 6aa72ba3e7a641165d8f3b7400daca4e98f1bef1 Mon Sep 17 00:00:00 2001 From: "DESKTOP-L8OUL9F\\gfl0034" <1003614916@qq.com> Date: Thu, 24 Sep 2026 10:44:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(openapi):=20=E4=BF=AE=E5=A4=8D=20admin=20?= =?UTF-8?q?=E5=88=86=E7=B1=BB=20description=20=E6=9C=AA=E5=8A=A0=E5=BC=95?= =?UTF-8?q?=E5=8F=B7=E5=AF=BC=E8=87=B4=20YAML=20=E8=A7=A3=E6=9E=90?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 同步 config 中 admin JWT 密钥注释说明。 Co-authored-by: Cursor --- configs/config.yaml | 3 ++- internal/transport/http/docs/openapi.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configs/config.yaml b/configs/config.yaml index e3387f5..31fb1e0 100644 --- a/configs/config.yaml +++ b/configs/config.yaml @@ -58,7 +58,8 @@ jwt: refresh_prefix: "refresh:" pair_key_mode: "triple" -# Must match Aliyun wyrs.admin.jwt-secret / WYRS_ADMIN_JWT_SECRET (popadmin login). +# Must match Aliyun WYRS_ADMIN_JWT_SECRET (popadmin login). +# Prod rejects the jar default "...-production-2025"; set a shared non-default secret. admin: jwt_secret: "wyrs-admin-jwt-secret-change-in-production-2025" diff --git a/internal/transport/http/docs/openapi.yaml b/internal/transport/http/docs/openapi.yaml index bc03e65..8df1029 100644 --- a/internal/transport/http/docs/openapi.yaml +++ b/internal/transport/http/docs/openapi.yaml @@ -2054,7 +2054,7 @@ paths: get: tags: [admin-music] summary: 分类树(含下架) - description: `data.categories` 为总分类树(children 为子分类)。别名 `/api/admin/pop/music/categories`。 + description: "`data.categories` 为总分类树(children 为子分类)。别名 `/api/admin/pop/music/categories`。" operationId: adminListMusicCategories security: - bearerAuth: []