1. 分期项目 新建
This commit is contained in:
parent
72c1d9de57
commit
228a4b755c
|
|
@ -28,20 +28,20 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
|
|||
@EnableTransactionManagement
|
||||
public class LoanApplication extends SpringBootServletInitializer
|
||||
{
|
||||
private final static Logger log = LoggerFactory.getLogger(TaskApplication.class);
|
||||
private final static Logger log = LoggerFactory.getLogger(LoanApplication.class);
|
||||
private final static String APP_NAME = "分期服务应用";
|
||||
|
||||
@Override
|
||||
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
|
||||
log.info(AppStartType.START_FORMAT, AppStartType.web_server.type(), APP_NAME);
|
||||
SpringApplicationBuilder run = application.sources(TaskApplication.class);
|
||||
SpringApplicationBuilder run = application.sources(LoanApplication.class);
|
||||
log.info(AppStartType.END_FORMAT, AppStartType.web_server.type(), APP_NAME);
|
||||
return run;
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
log.info(AppStartType.START_FORMAT, AppStartType.main.type(), APP_NAME);
|
||||
SpringApplication.run(TaskApplication.class, args);
|
||||
SpringApplication.run(LoanApplication.class, args);
|
||||
log.info(AppStartType.END_FORMAT, AppStartType.main.type(), APP_NAME);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue