From cc6270c5f434f93bf51f4c454e3de512be70b584 Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期三, 02 四月 2025 13:10:33 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 iailab-cloud/iailab-gateway/src/main/resources/application.yaml |   19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/iailab-cloud/iailab-gateway/src/main/resources/application.yaml b/iailab-cloud/iailab-gateway/src/main/resources/application.yaml
index f0c4867..4ecec4f 100644
--- a/iailab-cloud/iailab-gateway/src/main/resources/application.yaml
+++ b/iailab-cloud/iailab-gateway/src/main/resources/application.yaml
@@ -115,6 +115,13 @@
             - Path=/admin-api/model/**
           filters:
             - RewritePath=/admin-api/model/v3/api-docs, /v3/api-docs
+        ## fast 服务
+        - id: fast-admin-api # 路由的编号
+          uri: grayLb://fast-server
+          predicates: # 断言,作为路由的匹配条件,对应 RouteDefinition 数组
+            - Path=/admin-api/fast/**
+          filters:
+            - RewritePath=/admin-api/fast/v3/api-docs, /v3/api-docs
         ## shasteel 服务
         - id: shasteel-admin-api # 路由的编号
           uri: grayLb://shasteel-server
@@ -122,6 +129,13 @@
             - Path=/admin-api/shasteel/**
           filters:
             - RewritePath=/admin-api/shasteel/v3/api-docs, /v3/api-docs
+        ## ansteel 服务
+        - id: ansteel-admin-api # 路由的编号
+          uri: grayLb://ansteel-server
+          predicates: # 断言,作为路由的匹配条件,对应 RouteDefinition 数组
+            - Path=/admin-api/ansteel/**
+          filters:
+            - RewritePath=/admin-api/ansteel/v3/api-docs, /v3/api-docs
         ## xmcpms 服务
         - id: xmcpms-admin-api # 路由的编号
           uri: grayLb://xmcpms-server
@@ -142,12 +156,13 @@
 server:
   port: 48080
   servlet:
+    context-path: /
     session:
       timeout: 120s
 
 logging:
   file:
-    name: @log.path@/logs/${spring.application.name}.log # 日志文件名,全路径
+    name: @log.path@/iailab-gateway/log/${spring.application.name}.log # 日志文件名,全路径
 
 knife4j:
   # 聚合 Swagger 文档,参考 https://doc.xiaominfo.com/docs/action/springcloud-gateway 文档
@@ -194,4 +209,4 @@
 # 日志文件配置
 logging:
   level:
-    org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 芋艿:先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示
\ No newline at end of file
+    org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示
\ No newline at end of file

--
Gitblit v1.9.3