@compent 結合 @PostConstruct 加載數據字典

@Compent spring組件 // org.springframework.stereotype.Component @PostConstruct java註解 //javax.annotation.PostConstructjava @PostConstruct在項目中的用處 1.spring項目加載數據字典 @PostConstruct註解的方法在項目啓動的時候執行這個方法,也能夠理解爲
相關文章
相關標籤/搜索