From abb52e6e83b1a85586f2ca0196c95161b99f368a Mon Sep 17 00:00:00 2001
From: zxh <279049017@qq.com>
Date: Wed, 02 Sep 2020 14:30:30 +0800
Subject: [PATCH] 修改上传的路径
---
kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml | 25 ++++++++++++++++++++-----
1 files changed, 20 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 8299439..07a56aa 100644
--- a/kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml
+++ b/kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml
@@ -36,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: 60000
+ connect-timeout-millis: 60000
routes:
auth:
path: /api-uaa/**
@@ -170,6 +172,12 @@
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
@@ -211,13 +219,15 @@
- /*/oauth/**
- /actuator/health
- /actuator/info
- - /api-sms/smsChangLan/send
+ - /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-user/syshospital/findAllByMap
# - /api-user/sysdictionaries/findAll
# - /api-user/sysdepartment/findListByHospitalId
@@ -242,14 +252,16 @@
/api-user/users-anon/**,
/login.html,
/user/login,
- /api-sms/smsChangLan/send,
+ /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-file/baseUplaod,
+ /api-user/users/python,
+ /api-evaluation/evaluationxrayinfo/checkQRCode
# /api-user/syshospital/findAllByMap,
# /api-user/sysdictionaries/findAll,
# /api-user/sysdepartment/findListByHospitalId
@@ -270,6 +282,8 @@
/api-user/menus/current,
/api-user/users/current,
/api-log/requestStat
+ /wechatserver/Wechat/GetScreenCount
+ /wechatserver/news/LastestNews
#白名单,需要URL认证的应用ID
includeClientIds:
- webApp
@@ -292,4 +306,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