You've already forked FrameTour-BE
feat(config): 添加优雅关机配置和智谱API密钥
- 在开发环境配置中启用优雅关机 - 设置每个关机阶段超时时间为60秒 - 添加智谱AI服务的API密钥配置 - 统一开发和生产环境的基础配置结构
This commit is contained in:
@@ -1,9 +1,12 @@
|
|||||||
server:
|
server:
|
||||||
port: 8030
|
port: 8030
|
||||||
|
shutdown: graceful
|
||||||
|
|
||||||
spring:
|
spring:
|
||||||
application:
|
application:
|
||||||
name: zt
|
name: zt
|
||||||
|
lifecycle:
|
||||||
|
timeout-per-shutdown-phase: 60s
|
||||||
|
|
||||||
# Feign配置(简化版,基于Nacos服务发现)
|
# Feign配置(简化版,基于Nacos服务发现)
|
||||||
feign:
|
feign:
|
||||||
@@ -39,3 +42,6 @@ kafka:
|
|||||||
logging:
|
logging:
|
||||||
level:
|
level:
|
||||||
com.ycwl.basic.integration.scenic.client: DEBUG
|
com.ycwl.basic.integration.scenic.client: DEBUG
|
||||||
|
|
||||||
|
zhipu:
|
||||||
|
api-key: a331e0fcf3f74518818b8e5129b79058.RXuUxUUjKdcxbF4L
|
||||||
@@ -1,11 +1,17 @@
|
|||||||
server:
|
server:
|
||||||
port: 8031
|
port: 8031
|
||||||
|
shutdown: graceful
|
||||||
|
|
||||||
spring:
|
spring:
|
||||||
application:
|
application:
|
||||||
name: zt
|
name: zt
|
||||||
|
lifecycle:
|
||||||
|
timeout-per-shutdown-phase: 60s
|
||||||
|
|
||||||
# 生产环境日志级别
|
# 生产环境日志级别
|
||||||
logging:
|
logging:
|
||||||
level:
|
level:
|
||||||
com.ycwl.basic.integration.scenic.client: WARN
|
com.ycwl.basic.integration.scenic.client: WARN
|
||||||
|
|
||||||
|
zhipu:
|
||||||
|
api-key: a331e0fcf3f74518818b8e5129b79058.RXuUxUUjKdcxbF4L
|
||||||
Reference in New Issue
Block a user