private static testService testService = ContextHolder.getBean(testService .class);
通过反射获取bean
最新推荐文章于 2023-07-07 11:40:09 发布
private static testService testService = ContextHolder.getBean(testService .class);