springboot解決攔截器無法調用service層問題(無法注入serivce)

攔截器:   if (loginTickerService == null) {//解決service爲null無法注入問題 System.out.println("loginTickerService is null!!!"); BeanFactory factory = WebApplicationContextUtils.getRequiredWebApplicationConte
相關文章
相關標籤/搜索