摘要: 我们有一个路由StudentController,里面有一个方法count()。如果要在另外一个GradeController中调用count()方法有2种方式: 因为StudentController是一个class,不是接口,接口一般都是@Autowired注入就能调用。 new一个实例调用 比 阅读全文
posted @ 2017-06-21 16:51 沙耶 阅读(18691) 评论(0) 推荐(1)