From 5d97b0934973737a903f45d1d89e095b2e255694 Mon Sep 17 00:00:00 2001 From: zxh <279049017@qq.com> Date: Fri, 21 Aug 2020 10:12:36 +0800 Subject: [PATCH] 提交到Gitblit --- kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml | 72 ++++++++++++++++++++++++++++++++++- 1 files changed, 69 insertions(+), 3 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 334f2eb..716d064 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: @@ -97,6 +98,18 @@ strip-prefix: true sensitive-headers: '*' custom-sensitive-headers: true + record-bicenter: + path: /api-bicenter/** + service-id: bicenter-server + strip-prefix: true + sensitive-headers: '*' + custom-sensitive-headers: true + sms: + path: /api-sms/** + service-id: sms-service-server + strip-prefix: true + sensitive-headers: '*' + custom-sensitive-headers: true log: path: /api-log/** service-id: logcenter-server @@ -130,6 +143,36 @@ client-service-routes: path: /clienttest/** service-id: client-service + 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 @@ -174,6 +217,17 @@ - /*/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-user/syshospital/findAllByMap +# - /api-user/sysdictionaries/findAll +# - /api-user/sysdepartment/findListByHospitalId # 忽略权限鉴定 authority-ignores: - /*/authority/granted/me @@ -194,7 +248,19 @@ /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-user/syshospital/findAllByMap, +# /api-user/sysdictionaries/findAll, +# /api-user/sysdepartment/findListByHospitalId auth: #开启时间戳验证 timestampenable: false @@ -206,7 +272,7 @@ /api-uaa/validata/** urlPermission: #是否开启url级别权限 - enable: false + enable: true #配置只进行登录认证,不进行url权限认证的api ignoreUrls: > /api-user/menus/current, @@ -219,7 +285,7 @@ - kidgrow renew: #是否开启token自动续签(目前只有redis实现) - enable: false + enable: true #白名单 includeClientIds: - webApp -- Gitblit v1.8.0