修改启动参数

dev
bynt 1 year ago
parent 5a74c695cd
commit 0845a4748d

@ -16,6 +16,7 @@
package me.zhengjie; package me.zhengjie;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import me.zhengjie.annotation.rest.AnonymousGetMapping; import me.zhengjie.annotation.rest.AnonymousGetMapping;
import me.zhengjie.utils.SpringContextHolder; import me.zhengjie.utils.SpringContextHolder;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
@ -35,6 +36,7 @@ import org.springframework.web.bind.annotation.RestController;
* @author Zheng Jie * @author Zheng Jie
* @date 2018/11/15 9:20:19 * @date 2018/11/15 9:20:19
*/ */
@Slf4j
@EnableAsync @EnableAsync
@RestController @RestController
@EnableScheduling @EnableScheduling
@ -46,6 +48,7 @@ public class AppRun {
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(AppRun.class, args); SpringApplication.run(AppRun.class, args);
log.info("============================ application start success ============================");
} }
@Bean @Bean

Loading…
Cancel
Save