From 83415cfdd58de2ce95b874cc1be9bc5112b8baa2 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期二, 19 八月 2025 19:46:22 +0800
Subject: [PATCH] 修改bug

---
 zuul/src/main/resources/application.yml |   44 ++------------------------------------------
 1 files changed, 2 insertions(+), 42 deletions(-)

diff --git a/zuul/src/main/resources/application.yml b/zuul/src/main/resources/application.yml
index f107d09..65a512b 100644
--- a/zuul/src/main/resources/application.yml
+++ b/zuul/src/main/resources/application.yml
@@ -1,43 +1,3 @@
-server:
-  port: 3002
-
 spring:
-  application:
-    name: zuul-gateway #服务名称
-  servlet:
-    multipart:
-      max-request-size: 500MB
-      max-file-size: 500MB
-  redis:
-    host: 192.168.110.80
-    port: 6379
-    password: 123456
-
-eureka:
-  client:
-    service-url: #注册中心地址
-      defaultZone: http://sinata:sinata@127.0.0.1:8000/eureka #启用身份验证的方式连接
-    register-with-eureka: true #在注册中心进行注册
-    fetch-registry: true #从Eureka中获取注册信息。
-
-zuul:
-#  prefix: /api #添加URL前缀
-  sensitive-headers: #将默认过滤掉的敏感数据清除,不进行过滤("Cookie", "Set-Cookie", "Authorization")
-  routes:
-    user-server: #接口调用路由服务,名字任意取。(用户端服务)
-      path: /user/** #配置请求URL的请求规则
-      url: http://127.0.0.1:8006 #真正的微服务地址,path匹配的请求都转发到这里
-      serviceid: user-server #指定Eureka注册中心的服务id
-    driver-server: #路由司机相关请求
-      path: /driver/** #配置请求URL的请求规则
-      url: http://127.0.0.1:8007 #真正的微服务地址,path匹配的请求都转发到这里
-      serviceid: driver-server #指定Eureka注册中心的服务id
-  #  配置zuul超时时间
-  host:
-    connect-timeout-millis: 150000
-    socket-timeout-millis: 15000
-
-# 配置ribbon超时时间
-ribbon:
-  ReadTimeout: 10000
-  ConnectTimeout: 10000
\ No newline at end of file
+  profiles:
+    active: "@spring.active@"
\ No newline at end of file

--
Gitblit v1.7.1