81,094
社区成员
发帖
与我相关
我的任务
分享
@Service
public class HelloService {
@Autowired
RestTemplate restTemplate;
public String helloService(String name) {
return restTemplate.getForObject("http://service-user/hello?name="+name, String.class);
}
}