From dc09f666f10fd569fcb473cc5ce59eef03ea71b4 Mon Sep 17 00:00:00 2001
From: lyfO_o <764716047@qq.com>
Date: 星期五, 26 八月 2022 09:39:41 +0800
Subject: [PATCH] 4个线程保持连接

---
 safePlatfrom-out-web/src/main/resources/config/application-dev.yaml |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/safePlatfrom-out-web/src/main/resources/config/application-dev.yaml b/safePlatfrom-out-web/src/main/resources/config/application-dev.yaml
index 6300b48..f7b67cb 100644
--- a/safePlatfrom-out-web/src/main/resources/config/application-dev.yaml
+++ b/safePlatfrom-out-web/src/main/resources/config/application-dev.yaml
@@ -50,8 +50,6 @@
   cloud:
     nacos:
       discovery:
-        #        server-addr: nacos://121.239.169.27:18848?username=nacos&password=guokehongyu
-        #        server-addr: 192.168.0.52:8848?namespace=e07a2454-136b-4498-99eb-09dae3336ebe&username=gkhy_team_safeplatform_dev&password=nacosadmin
         server-addr: http://192.168.0.52:8848
         namespace: e07a2454-136b-4498-99eb-09dae3336ebe
         username: gkhy_safeplatform_out
@@ -64,6 +62,9 @@
         username: gkhy_safeplatform_out
         password: 9485uyJHISes09t
 
+  #是否允许跨域 true:允许;false:不允许
+  enableCors: true
+
 mybatis-plus:
   configuration:
     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl

--
Gitblit v1.9.2