摘要: @Component //把普通pojo实例化到spring容器中 0 public class MyUtil{ // 这里是需要注入的Service @Autowired private MyService myService; private static MyUtil myUtil; /** 阅读全文
posted @ 2020-02-05 21:44 一千年以后1412 阅读(1279) 评论(0) 推荐(0) 编辑