springboot在工具类(util)中调用注入service层方法
一、新建BeanUtil类import lombok.extern.slf4j.Slf4j;import org.springframework.beans.BeansException;import org.springframework.beans.factory.DisposableBean;import org.springframework.context.ApplicationContext;import org.springframework.context.Applicatio
原创
2021-03-19 15:49:00 ·
157783 阅读 ·
3 评论