spring-boot-starter-dubbo icon indicating copy to clipboard operation
spring-boot-starter-dubbo copied to clipboard

@Service的注解里面的属性可以从配置文件里面读取吗,?

Open patzheng opened this issue 7 years ago • 1 comments

@Service(version = "1.0.0") 这个1.0.0 可以从配置文件中读取吗?因为想在不同的环境下区分下

patzheng avatar Apr 27 '17 06:04 patzheng

貌似不可以,不过可以配成常量

baigod avatar Sep 05 '17 00:09 baigod