# easy-trans 配置 easy-trans: # 字典缓存是否放到redis中 做二级缓存,微服务模式推荐开启 dict-use-redis: false # 开启redis支持 微服务模式推荐使用redis is-enable-redis: false # 启用全局翻译(拦截所有responseBody进行自动翻译),如果关闭需要手动调用翻译方法或者方法加注解,具体看文档 is-enable-global: true # 启平铺模式(transMap的key平铺到和vo一个级别) is-enable-tile: true # 默认为true 如果前期先单体跑,后期可能改为springcloud微服务,可以先设置为false,后期设置为true,设置为false RPC翻译会走SIMPLE的逻辑 is-enable-cloud: false