You've already forked FrameTour-BE
feat(integration): 添加 ZT-Scenic 集成服务模块
- 新增 FeignConfig、IntegrationProperties 等基础配置类 - 实现自定义 FeignErrorDecoder 和 IntegrationException - 添加 CommonResponse 和 PageResponse 等通用响应模型 - 定义多个 Feign 客户端接口,用于调用 ZT-Scenic 服务 - 实现 DefaultConfigIntegrationService 和 ScenicConfigIntegrationService 服务类 - 添加 ScenicIntegrationExample 示例类,展示如何使用集成服务
This commit is contained in:
@@ -3,4 +3,21 @@ server:
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: zt
|
||||
name: zt
|
||||
|
||||
# Feign配置(简化版,基于Nacos服务发现)
|
||||
feign:
|
||||
client:
|
||||
config:
|
||||
default:
|
||||
connectTimeout: 5000
|
||||
readTimeout: 10000
|
||||
loggerLevel: full
|
||||
decode404: true
|
||||
okhttp:
|
||||
enabled: true
|
||||
|
||||
# 开发环境日志配置
|
||||
logging:
|
||||
level:
|
||||
com.ycwl.basic.integration.scenic.client: DEBUG
|
@@ -3,4 +3,9 @@ server:
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: zt
|
||||
name: zt
|
||||
|
||||
# 生产环境日志级别
|
||||
logging:
|
||||
level:
|
||||
com.ycwl.basic.integration.scenic.client: WARN
|
Reference in New Issue
Block a user