mirror of
https://github.com/201206030/novel-cloud.git
synced 2025-04-27 01:40:50 +00:00
34 lines
725 B
YAML
34 lines
725 B
YAML
# 将所有数字转为 String 类型返回,避免前端数据精度丢失的问题
|
||
jackson:
|
||
generator:
|
||
write-numbers-as-strings: true
|
||
|
||
|
||
mybatis:
|
||
configuration:
|
||
#自动将数据库带下划线的表字段值映射到Java类的驼峰字段上
|
||
map-underscore-to-camel-case: true
|
||
mapper-locations: classpath*:mybatis/mapping/*.xml
|
||
type-aliases-package: com.java2nb.novel.*.entity
|
||
|
||
logging:
|
||
config: classpath:logback-boot.xml
|
||
|
||
spring:
|
||
main:
|
||
allow-bean-definition-overriding: true
|
||
|
||
feign:
|
||
httpclient:
|
||
enabled: true
|
||
#关掉mq的健康检查,防止某些没有用到mq的服务启动报错,个别服务如需mq监控,单独开启
|
||
management:
|
||
health:
|
||
rabbit:
|
||
enabled: false
|
||
|
||
|
||
|
||
|
||
|