Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

springcloud 单元测试 #3

Open
fengquan8866 opened this issue May 29, 2017 · 0 comments
Open

springcloud 单元测试 #3

fengquan8866 opened this issue May 29, 2017 · 0 comments

Comments

@fengquan8866
Copy link

fengquan8866 commented May 29, 2017

例如有三个微服务:eureka、config、user
user的controller中代码如下:
@RequestMapping("${restful.base}")
public class UserController {...}
${restful.base}是在config中的配置
现在user微服务中运行junit,${restful.base}怎么注入进去呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant