From 5a62719618555fe165d42c06eda1cf71bb1564ce Mon Sep 17 00:00:00 2001
From: houruijun <411269194@kidgrow.com>
Date: Mon, 02 Nov 2020 15:29:26 +0800
Subject: [PATCH] 修改bug:删除充值记录的时候,页面被刷新的问题

---
 kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml |   83 +++++++++++++++++++++++++++++++++++++++--
 1 files changed, 78 insertions(+), 5 deletions(-)

diff --git a/kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml b/kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml
index 828d993..ea41ca8 100644
--- a/kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml
+++ b/kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml
@@ -23,6 +23,7 @@
     prefer-ip-address: true
   client:
     serviceUrl:
+#      defaultZone: http://192.168.2.240:9001/eureka/
       defaultZone: ${kidgrow.eureka.client.serviceUrl.defaultZone}
 
 zuul:
@@ -35,7 +36,9 @@
   ignored-headers: Access-Control-Allow-Credentials,Access-Control-Allow-Origin,Access-Control-Allow-Methods
   add-host-header: true
   host:
-    connectTimeoutMillis: 10000
+#    connectTimeoutMillis: 10000
+    socket-timeout-millis: 100000
+    connect-timeout-millis: 100000
   routes:
     auth:
       path: /api-uaa/**
@@ -145,6 +148,36 @@
       strip-prefix: true
       sensitive-headers: '*'
       custom-sensitive-headers: true
+    reportcenter-server-routes:
+      path: /reportcenter-server/**
+      service-id: reportcenter-server
+      strip-prefix: true
+      sensitive-headers: '*'
+      custom-sensitive-headers: true
+    demo-aspnet-server-routes:
+      path: /demoaspnetserver/**
+      service-id: demo-aspnet-server
+      strip-prefix: true
+      sensitive-headers: '*'
+      custom-sensitive-headers: true
+    wechat-server-routes:
+      path: /wechatserver/**
+      service-id: wechat-server
+      strip-prefix: true
+      sensitive-headers: '*'
+      custom-sensitive-headers: true
+    api-evaluation:
+      path: /api-evaluation/**
+      service-id: boneage-evaluationcenter-server
+      strip-prefix: true
+      sensitive-headers: '*'
+      custom-sensitive-headers: true
+    api-smartbox:
+      path: /api-smart/**
+      service-id: smartbox-server
+      strip-prefix: true
+      sensitive-headers: '*'
+      custom-sensitive-headers: true
   ssl-hostname-validation-enabled: false
 
 
@@ -165,7 +198,7 @@
       execution:
         isolation:
           thread:
-            timeoutInMilliseconds: 100000
+            timeoutInMilliseconds: 300000
 
 kidgrow:
   oauth2:
@@ -186,6 +219,24 @@
       - /*/oauth/**
       - /actuator/health
       - /actuator/info
+      - /api-file/smsChangLan/send
+      - /api-user/users/doctorUserReg
+      - /api-user/users/isRegUser
+      - /api-user/users/passwordByPhone
+      - /api-evaluation/evaluationxrayinfo/appUpload
+      - /api-evaluation/evaluationxrayinfo/appSave
+      - /api-file/baseUplaod
+      - /api-user/users/python
+      - /api-evaluation/evaluationxrayinfo/checkQRCode
+      - /api-opration/wxController/callback
+      - /api-opration/alipay/notify
+      - /api-opration/alipay/return
+      - /api-record/DiagnosticUnfinishedFegin/equipmentList
+      - /api-record/DiagnosticUnfinishedFegin/equipmentUpload
+      - /api-opration/wxController/getOpenId
+#      - /api-user/syshospital/findAllByMap
+#      - /api-user/sysdictionaries/findAll
+#      - /api-user/sysdepartment/findListByHospitalId
     # 忽略权限鉴定
     authority-ignores:
       - /*/authority/granted/me
@@ -206,7 +257,26 @@
         /api-uaa/js/**,
         /api-user/users-anon/**,
         /login.html,
-        /user/login
+        /user/login,
+        /api-file/smsChangLan/send,
+        /api-user/users/doctorUserReg,
+        /api-file/files-upload,
+        /api-user/users/isRegUser,
+        /api-user/users/passwordByPhone,
+        /api-evaluation/evaluationxrayinfo/appUpload,
+        /api-evaluation/evaluationxrayinfo/appSave,
+        /api-file/baseUplaod,
+        /api-user/users/python,
+        /api-evaluation/evaluationxrayinfo/checkQRCode,
+        /api-opration/wxController/callback,
+        /api-opration/alipay/return,
+        /api-opration/alipay/notify,
+        /api-record/DiagnosticUnfinishedFegin/equipmentList,
+        /api-record/DiagnosticUnfinishedFegin/equipmentUpload,
+        /api-opration/wxController/getOpenId
+#        /api-user/syshospital/findAllByMap,
+#        /api-user/sysdictionaries/findAll,
+#        /api-user/sysdepartment/findListByHospitalId
     auth:
       #开启时间戳验证
       timestampenable: false
@@ -224,6 +294,8 @@
           /api-user/menus/current,
           /api-user/users/current,
           /api-log/requestStat
+          /wechatserver/Wechat/GetScreenCount
+          /wechatserver/news/LastestNews
         #白名单,需要URL认证的应用ID
         includeClientIds:
           - webApp
@@ -231,7 +303,7 @@
           - kidgrow
       renew:
         #是否开启token自动续签(目前只有redis实现)
-        enable: false
+        enable: true
         #白名单
         includeClientIds:
           - webApp
@@ -246,4 +318,5 @@
   butler:
     auto-generate-from-zuul-routes: true
     generate-routes: user,file,log,codegenerator,auth
-    apiDocsPath: v2/api-docs
\ No newline at end of file
+    apiDocsPath: v2/api-docs
+

--
Gitblit v1.8.0