最后测试代码要使用接口注入。@Autowired
private PerformanceImpl performanceImpl;更改为
@Autowired
private Performance performanceImpl;
类型需要使用接口对象
版权声明:本文为worldTi6原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
最后测试代码要使用接口注入。@Autowired
private PerformanceImpl performanceImpl;更改为
@Autowired
private Performance performanceImpl;
类型需要使用接口对象