|
@@ -20,41 +20,8 @@ public class BannerApplicationRunner implements ApplicationRunner {
|
|
|
public void run(ApplicationArguments args) {
|
|
|
ThreadUtil.execute(() -> {
|
|
|
ThreadUtil.sleep(1, TimeUnit.SECONDS); // 延迟 1 秒,保证输出到结尾
|
|
|
- log.info("\n----------------------------------------------------------\n\t" +
|
|
|
- "项目启动成功!\n\t" +
|
|
|
- "接口文档: \t{} \n\t" +
|
|
|
- "开发文档: \t{} \n\t" +
|
|
|
- "视频教程: \t{} \n" +
|
|
|
- "----------------------------------------------------------",
|
|
|
- "https://doc.iocoder.cn/api-doc/",
|
|
|
- "https://doc.iocoder.cn",
|
|
|
- "https://www.zhongxing.cn/02Yf6M7Qn");
|
|
|
-
|
|
|
- // 数据报表
|
|
|
- if (isNotPresent("cn.newfeifan.mall.module.report.framework.security.config.SecurityConfiguration")) {
|
|
|
- System.out.println("[报表模块 feifan-module-report - 已禁用][参考 https://doc.iocoder.cn/report/ 开启]");
|
|
|
- }
|
|
|
- // 工作流
|
|
|
- if (isNotPresent("cn.newfeifan.mall.framework.flowable.config.FeifanFlowableConfiguration")) {
|
|
|
- System.out.println("[工作流模块 feifan-module-bpm - 已禁用][参考 https://doc.iocoder.cn/bpm/ 开启]");
|
|
|
- }
|
|
|
- // 微信公众号
|
|
|
- if (isNotPresent("cn.newfeifan.mall.module.mp.framework.mp.config.MpConfiguration")) {
|
|
|
- System.out.println("[微信公众号 feifan-module-mp - 已禁用][参考 https://doc.iocoder.cn/mp/build/ 开启]");
|
|
|
- }
|
|
|
- // 商城系统
|
|
|
- if (isNotPresent("cn.newfeifan.mall.module.trade.framework.web.config.TradeWebConfiguration")) {
|
|
|
- System.out.println("[商城系统 feifan-module-mall - 已禁用][参考 https://doc.iocoder.cn/mall/build/ 开启]");
|
|
|
- }
|
|
|
- // 支付平台
|
|
|
- if (isNotPresent("cn.newfeifan.mall.module.pay.framework.pay.config.PayConfiguration")) {
|
|
|
- System.out.println("[支付系统 feifan-module-pay - 已禁用][参考 https://doc.iocoder.cn/pay/build/ 开启]");
|
|
|
- }
|
|
|
+ log.info("\n----------------------------------------------------------\n\t" + "项目启动成功!\n\t" + "----------------------------------------------------------");
|
|
|
});
|
|
|
}
|
|
|
|
|
|
- private static boolean isNotPresent(String className) {
|
|
|
- return !ClassUtils.isPresent(className, ClassUtils.getDefaultClassLoader());
|
|
|
- }
|
|
|
-
|
|
|
}
|