|  | @@ -9,7 +9,7 @@ eureka:
 | 
											
												
													
														|  |  spring:
 |  |  spring:
 | 
											
												
													
														|  |    application:
 |  |    application:
 | 
											
												
													
														|  |      name: education-server
 |  |      name: education-server
 | 
											
												
													
														|  | -    
 |  | 
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |    datasource:
 |  |    datasource:
 | 
											
												
													
														|  |      name: test
 |  |      name: test
 | 
											
												
													
														|  |      url: jdbc:mysql://47.99.212.176:3306/mec_dev?useUnicode=true&characterEncoding=UTF8&serverTimezone=Asia/Shanghai
 |  |      url: jdbc:mysql://47.99.212.176:3306/mec_dev?useUnicode=true&characterEncoding=UTF8&serverTimezone=Asia/Shanghai
 | 
											
										
											
												
													
														|  | @@ -31,11 +31,11 @@ spring:
 | 
											
												
													
														|  |      testOnReturn: false
 |  |      testOnReturn: false
 | 
											
												
													
														|  |      poolPreparedStatements: true
 |  |      poolPreparedStatements: true
 | 
											
												
													
														|  |      maxOpenPreparedStatements: 20
 |  |      maxOpenPreparedStatements: 20
 | 
											
												
													
														|  | -    
 |  | 
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |    redis:
 |  |    redis:
 | 
											
												
													
														|  |      host: 47.99.212.176
 |  |      host: 47.99.212.176
 | 
											
												
													
														|  |      port: 6379
 |  |      port: 6379
 | 
											
												
													
														|  | -    password: 
 |  | 
 | 
											
												
													
														|  | 
 |  | +    password:
 | 
											
												
													
														|  |      database: 0
 |  |      database: 0
 | 
											
												
													
														|  |      #连接超时时间(毫秒)
 |  |      #连接超时时间(毫秒)
 | 
											
												
													
														|  |      timeout: 10000
 |  |      timeout: 10000
 | 
											
										
											
												
													
														|  | @@ -50,12 +50,16 @@ spring:
 | 
											
												
													
														|  |        min-idle: 0
 |  |        min-idle: 0
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  mybatis:
 |  |  mybatis:
 | 
											
												
													
														|  | -    mapperLocations: classpath:config/mybatis/*.xml
 |  | 
 | 
											
												
													
														|  | -    
 |  | 
 | 
											
												
													
														|  | 
 |  | +  mapperLocations: classpath:config/mybatis/*.xml
 | 
											
												
													
														|  | 
 |  | +mybatis-plus:
 | 
											
												
													
														|  | 
 |  | +  mapper-locations: classpath*:config/mybatis/*.xml
 | 
											
												
													
														|  | 
 |  | +  configuration:
 | 
											
												
													
														|  | 
 |  | +    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  swagger:
 |  |  swagger:
 | 
											
												
													
														|  |    base-package: com.ym.mec.education.controller
 |  |    base-package: com.ym.mec.education.controller
 | 
											
												
													
														|  | - 
 |  | 
 | 
											
												
													
														|  | -##认证 
 |  | 
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +##认证
 | 
											
												
													
														|  |  security:
 |  |  security:
 | 
											
												
													
														|  |    oauth2:
 |  |    oauth2:
 | 
											
												
													
														|  |      client:
 |  |      client:
 | 
											
										
											
												
													
														|  | @@ -63,7 +67,7 @@ security:
 | 
											
												
													
														|  |        client-secret: app
 |  |        client-secret: app
 | 
											
												
													
														|  |      resource:
 |  |      resource:
 | 
											
												
													
														|  |        token-info-uri: http://localhost:8001/oauth/check_token
 |  |        token-info-uri: http://localhost:8001/oauth/check_token
 | 
											
												
													
														|  | -  
 |  | 
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  #spring boot admin 相关配置
 |  |  #spring boot admin 相关配置
 | 
											
												
													
														|  |  management:
 |  |  management:
 | 
											
												
													
														|  |    endpoints:
 |  |    endpoints:
 | 
											
										
											
												
													
														|  | @@ -73,7 +77,7 @@ management:
 | 
											
												
													
														|  |    endpoint:
 |  |    endpoint:
 | 
											
												
													
														|  |      health:
 |  |      health:
 | 
											
												
													
														|  |        show-details: ALWAYS
 |  |        show-details: ALWAYS
 | 
											
												
													
														|  | -  
 |  | 
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  feign:
 |  |  feign:
 | 
											
												
													
														|  |    hystrix:
 |  |    hystrix:
 | 
											
												
													
														|  | -    enabled: true
 |  | 
 | 
											
												
													
														|  | 
 |  | +    enabled: true
 |