From 7e19ba4d06943d0646f49234eb67535f4371eb89 Mon Sep 17 00:00:00 2001 From: litianxiang Date: Wed, 13 May 2026 09:40:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=89=B4=E6=9D=83=E6=8C=89?= =?UTF-8?q?=E7=85=A7Source=E5=88=A4=E6=96=ADid=E6=9D=A5=E8=87=AA=E4=BA=8E?= =?UTF-8?q?=E4=BD=95=E5=A4=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 14 ++++---------- src/main/resources/application.yml | 15 ++++++++++++--- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index 5d5235d..e1422ae 100644 --- a/pom.xml +++ b/pom.xml @@ -20,8 +20,8 @@ 21 - 2023.0.1 - 2023.0.1.0 + 2023.0.4 + 2023.0.3.4 @@ -62,17 +62,11 @@ runtime - - - com.fasterxml.jackson.core - jackson-databind - - - + cn.hutool hutool-all - 5.8.26 + 5.8.23 diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 87cdb0c..e0f363e 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -50,6 +50,12 @@ spring: uri: http://18.167.251.121:9994 predicates: - Path=/python/** + - id: aida-buyer + uri: lb://aida-buyer + predicates: + - Path=/buyer/** + filters: + - StripPrefix=1 # ---------- Knife4j 网关聚合配置 ---------- knife4j: gateway: @@ -67,6 +73,11 @@ knife4j: service-name: aida-seller context-path: /seller order: 2 + - name: 买家端服务 (Buyer) + url: /buyer/v3/api-docs + service-name: aida-buyer + context-path: /buyer + order: 3 # ---------- Gateway JWT 认证(gateway 独有) ---------- gateway: @@ -75,9 +86,6 @@ gateway: jwt-token-header: Authorization jwt-token-prefix: Bearer- blacklist-enabled: true - # 可选认证路径:token 有则解析并传递,无则放行(已登录用户身份仍能正确传递) - optional-auth-paths: - - /seller/listing/shop ignore-paths: # Static resources & docs - /favicon.ico @@ -112,6 +120,7 @@ gateway: # Designer - /aida/api/designer/check - /seller/designer/shop/** + - /seller/designer/search # Python (only /aida prefix) - /aida/api/python/saveGeneratePicture - /aida/api/python/getLibraryByUserId