parent
ff91dfcc7d
commit
5e5aeb039a
6 changed files with 112 additions and 86 deletions
@ -0,0 +1,21 @@ |
|||||||
|
package org.springblade.desk.basic.service; |
||||||
|
|
||||||
|
import lombok.Data; |
||||||
|
import lombok.extern.slf4j.Slf4j; |
||||||
|
import org.springframework.boot.context.event.ApplicationReadyEvent; |
||||||
|
import org.springframework.context.event.EventListener; |
||||||
|
import org.springframework.stereotype.Service; |
||||||
|
|
||||||
|
@Service |
||||||
|
@Data |
||||||
|
@Slf4j |
||||||
|
public class BAStartService { |
||||||
|
|
||||||
|
/** |
||||||
|
* 应用启动后执行。 |
||||||
|
*/ |
||||||
|
@EventListener(ApplicationReadyEvent.class) |
||||||
|
public void start() { |
||||||
|
log.info("====BA基础模块启动成功!===="); |
||||||
|
} |
||||||
|
} |
||||||
Loading…
Reference in new issue