有办法为配置Key默认添加文件名前缀么? #3615
Answered
by
nobodyiam
zhangzw218
asked this question in
Q&A
-
我发现apollo对properties支持比较好,所以希望都用properties来配置属性。
现在改成了
可以看到上面有共同的前缀CacheConfig,我在想,可以在apollo中配置的时候,只写EnableTitanCache,在Net中加载配置的时候,自动加上文件名前缀么? CacheConfig.properties
但是在代码使用中,可以达到和上面一样的效果? |
Beta Was this translation helpful? Give feedback.
Answered by
nobodyiam
Mar 26, 2021
Replies: 1 comment
-
这个规则比较定制了,建议可以在客户端侧封装一层来实现这个逻辑 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Anilople
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这个规则比较定制了,建议可以在客户端侧封装一层来实现这个逻辑