@PostConstruct post
controller里
/**注意,这种初始化启动方法,不能放参数,如 init(String s)*/
@PostConstruct public void init(){ //do sth }
启动运行,项目无法debug,可以用这个
controller里
/**注意,这种初始化启动方法,不能放参数,如 init(String s)*/
@PostConstruct public void init(){ //do sth }
启动运行,项目无法debug,可以用这个