| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- spring:
- profiles:
- active: dev
- application:
- name: gateway-server
- servlet:
- multipart:
- max-file-size: 2000Mb
- max-request-size: 2500Mb
- security:
- user:
- name: admin
- password: select111***
- sleuth:
- sampler:
- probability: 1.0
- cloud:
- gateway:
- discovery:
- locator:
- enabled: true
- routes:
- - id: ACCOUNT-SERVER
- uri: lb://ACCOUNT-SERVER
- predicates:
- - Path=/api/account/**
- filters:
- - RewritePath=/api/account/(?<segment>.*), /$\{segment}
- - id: SCHOOL-SERVER
- uri: lb://SCHOOL-SERVER
- predicates:
- - Path=/api/school/**
- filters:
- - RewritePath=/api/school/(?<segment>.*), /$\{segment}
- - id: WECHAT-SERVER
- uri: lb://WECHAT-SERVER
- predicates:
- - Path=/api/wechat/**
- filters:
- - RewritePath=/api/wechat/(?<segment>.*), /$\{segment}
- - id: SMS-SERVER
- uri: lb://SMS-SERVER
- predicates:
- - Path=/api/sms/**
- filters:
- - RewritePath=/api/sms/(?<segment>.*), /$\{segment}
- - id: FILE-SERVER
- uri: lb://FILE-SERVER
- predicates:
- - Path=/api/file/**
- filters:
- - RewritePath=/api/file/(?<segment>.*), /$\{segment}
- - id: AUTH-SERVER
- uri: lb://AUTH-SERVER
- predicates:
- - Path=/api/auth/**
- filters:
- - RewritePath=/api/auth/(?<segment>.*), /$\{segment}
- - id: DEVICE-SERVER
- uri: lb://DEVICE-SERVER
- predicates:
- - Path=/api/device/**
- filters:
- - RewritePath=/api/device/(?<segment>.*), /$\{segment}
- redis:
- host: 10.10.100.166
- port: 6379
- jackson:
- date-format: yyyy-MM-dd HH:mm:ss
- time-zone: GMT+8
- server:
- port: 9520
- tomcat:
- uri-encoding: UTF-8
- eureka:
- instance:
- leaseRenewalIntervalInSeconds: 10
- health-check-url-path: /actuator/health
- status-page-url-path: /actuator/info
- prefer-ip-address: true
- metadata-map:
- user.name: ${spring.security.user.name}
- user.password: ${spring.security.user.password}
- client:
- registryFetchIntervalSeconds: 5
- serviceUrl:
- defaultZone: http://${spring.security.user.name}:${spring.security.user.password}@127.0.0.1:9500/eureka/
- management:
- endpoints:
- web:
- exposure:
- include: "*"
- endpoint:
- health:
- show-details: always
- shutdown:
- enabled: true
- restart:
- enabled: true
- feign:
- hystrix:
- enabled: true
- compression:
- request:
- enabled: true
- mime-types: text/xml,application/xml,application/json
- min-request-size: 2048
- response:
- enabled: true
- hystrix:
- command:
- default:
- execution:
- isolation:
- thread:
- timeoutInMilliseconds: 3000
- ribbon:
- eureka:
- enabled: true
- ReadTimeout: 60000
- ConnectTimeout: 60000
- MaxAutoRetries: 0
- MaxAutoRetriesNextServer: 1
- OkToRetryOnAllOperations: false
- info:
- name: '@project.artifactId@'
- description: '@project.description@'
- version: '@project.version@'
- spring-boot-version: '@spring.boot.version@'
- spring-cloud-version: '@spring.cloud.version@'
- auth:
- auth-header: Authorization
- public-key: auth/pub.key
- expire: 18000
- ignores:
- - /api/auth/authorize
- - /api/account/account/register
- - /api/school/wxSchool/user/bindOpenid*
- - /api/school/wxSchool/user/isBinding*
- - /api/school/wxSchool/user/sendCodeUpdate*
- - /api/school/wxSchool/user/sendCode*
- - /api/school/wxSchool/user/userLogin*
- - /api/school/wxSchool/user/sendCodeUpdate*
- - /api/school/wxSchool/meeting/getMeetingDetails*
- - /api/school/wxSchool/notify/getNotify*
- - /api/school/wxSchool/oaApprove/oaDetails*
- - /api/school/wxSchool/oaApprove/approve*
- - /api/school/wxSchool/stuScore/getScoreByStu*
- - /api/school/wxSchool/taskNotify/taskDetail*
- - /api/school/wxSchool/taskNotify/taskReply*
- - /api/school/wxSchool/outInRecord/inout/detail/*
- - /api/school/wxSchool/vote/voteDetailTeacher*
- - /api/school/wxSchool/vote/voteActionTeacher*
- - /api/school/wxSchool/vote/voteDetailStu*
- - /api/school/wxSchool/vote/voteActionParent*
- - /api/school/wxSchool/oaLeave/lvDetail**
- - /api/school/wxSchool/oaLeave/lvReply**
- - /api/device/**
- - /api/file/download*
- - /api/school/excel/**
|