From 49b510c77474fed0eff94e27f8d7a2d4e4cb7879 Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期五, 22 十一月 2024 09:57:17 +0800
Subject: [PATCH] 修改OAuth授权接口,返回token改为map类型

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

diff --git a/iailab-cloud/iailab-gateway/src/main/resources/application.yaml b/iailab-cloud/iailab-gateway/src/main/resources/application.yaml
index f158874..6428717 100644
--- a/iailab-cloud/iailab-gateway/src/main/resources/application.yaml
+++ b/iailab-cloud/iailab-gateway/src/main/resources/application.yaml
@@ -115,11 +115,21 @@
             - Path=/admin-api/model/**
           filters:
             - RewritePath=/admin-api/model/v3/api-docs, /v3/api-docs
+        ## shasteel 服务
+        - id: shasteel-admin-api # 路由的编号
+          uri: grayLb://shasteel-server
+          predicates: # 断言,作为路由的匹配条件,对应 RouteDefinition 数组
+            - Path=/admin-api/shasteel/**
+          filters:
+            - RewritePath=/admin-api/shasteel/v3/api-docs, /v3/api-docs
       x-forwarded:
         prefix-enabled: true # 避免 Swagger 重复带上额外的 /admin-api/system 前缀
 
 server:
   port: 48080
+  servlet:
+    session:
+      timeout: 120s
 
 logging:
   file:

--
Gitblit v1.9.3