|
|
|
@ -18,47 +18,47 @@ public class BannerApplicationRunner implements ApplicationRunner { |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
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://t.zsxq.com/02Yf6M7Qn"); |
|
|
|
|
|
|
|
|
|
// 数据报表
|
|
|
|
|
if (isNotPresent("com.cjy.traceability.module.report.framework.security.config.SecurityConfiguration")) { |
|
|
|
|
System.out.println("[报表模块 cjy-module-report - 已禁用][参考 https://doc.iocoder.cn/report/ 开启]"); |
|
|
|
|
} |
|
|
|
|
// 工作流
|
|
|
|
|
if (isNotPresent("com.cjy.traceability.framework.flowable.config.CjyFlowableConfiguration")) { |
|
|
|
|
System.out.println("[工作流模块 cjy-module-bpm - 已禁用][参考 https://doc.iocoder.cn/bpm/ 开启]"); |
|
|
|
|
} |
|
|
|
|
// 商城系统
|
|
|
|
|
if (isNotPresent("com.cjy.traceability.module.trade.framework.web.config.TradeWebConfiguration")) { |
|
|
|
|
System.out.println("[商城系统 cjy-module-mall - 已禁用][参考 https://doc.iocoder.cn/mall/build/ 开启]"); |
|
|
|
|
} |
|
|
|
|
// ERP 系统
|
|
|
|
|
if (isNotPresent("com.cjy.traceability.module.erp.framework.web.config.ErpWebConfiguration")) { |
|
|
|
|
System.out.println("[ERP 系统 cjy-module-erp - 已禁用][参考 https://doc.iocoder.cn/erp/build/ 开启]"); |
|
|
|
|
} |
|
|
|
|
// CRM 系统
|
|
|
|
|
if (isNotPresent("com.cjy.traceability.module.crm.framework.web.config.CrmWebConfiguration")) { |
|
|
|
|
System.out.println("[CRM 系统 cjy-module-crm - 已禁用][参考 https://doc.iocoder.cn/crm/build/ 开启]"); |
|
|
|
|
} |
|
|
|
|
// 微信公众号
|
|
|
|
|
if (isNotPresent("com.cjy.traceability.module.mp.framework.mp.config.MpConfiguration")) { |
|
|
|
|
System.out.println("[微信公众号 cjy-module-mp - 已禁用][参考 https://doc.iocoder.cn/mp/build/ 开启]"); |
|
|
|
|
} |
|
|
|
|
// 支付平台
|
|
|
|
|
if (isNotPresent("com.cjy.traceability.module.pay.framework.pay.config.PayConfiguration")) { |
|
|
|
|
System.out.println("[支付系统 cjy-module-pay - 已禁用][参考 https://doc.iocoder.cn/pay/build/ 开启]"); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
// 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://t.zsxq.com/02Yf6M7Qn");
|
|
|
|
|
//
|
|
|
|
|
// // 数据报表
|
|
|
|
|
// if (isNotPresent("com.cjy.traceability.module.report.framework.security.config.SecurityConfiguration")) {
|
|
|
|
|
// System.out.println("[报表模块 cjy-module-report - 已禁用][参考 https://doc.iocoder.cn/report/ 开启]");
|
|
|
|
|
// }
|
|
|
|
|
// // 工作流
|
|
|
|
|
// if (isNotPresent("com.cjy.traceability.framework.flowable.config.CjyFlowableConfiguration")) {
|
|
|
|
|
// System.out.println("[工作流模块 cjy-module-bpm - 已禁用][参考 https://doc.iocoder.cn/bpm/ 开启]");
|
|
|
|
|
// }
|
|
|
|
|
// // 商城系统
|
|
|
|
|
// if (isNotPresent("com.cjy.traceability.module.trade.framework.web.config.TradeWebConfiguration")) {
|
|
|
|
|
// System.out.println("[商城系统 cjy-module-mall - 已禁用][参考 https://doc.iocoder.cn/mall/build/ 开启]");
|
|
|
|
|
// }
|
|
|
|
|
// // ERP 系统
|
|
|
|
|
// if (isNotPresent("com.cjy.traceability.module.erp.framework.web.config.ErpWebConfiguration")) {
|
|
|
|
|
// System.out.println("[ERP 系统 cjy-module-erp - 已禁用][参考 https://doc.iocoder.cn/erp/build/ 开启]");
|
|
|
|
|
// }
|
|
|
|
|
// // CRM 系统
|
|
|
|
|
// if (isNotPresent("com.cjy.traceability.module.crm.framework.web.config.CrmWebConfiguration")) {
|
|
|
|
|
// System.out.println("[CRM 系统 cjy-module-crm - 已禁用][参考 https://doc.iocoder.cn/crm/build/ 开启]");
|
|
|
|
|
// }
|
|
|
|
|
// // 微信公众号
|
|
|
|
|
// if (isNotPresent("com.cjy.traceability.module.mp.framework.mp.config.MpConfiguration")) {
|
|
|
|
|
// System.out.println("[微信公众号 cjy-module-mp - 已禁用][参考 https://doc.iocoder.cn/mp/build/ 开启]");
|
|
|
|
|
// }
|
|
|
|
|
// // 支付平台
|
|
|
|
|
// if (isNotPresent("com.cjy.traceability.module.pay.framework.pay.config.PayConfiguration")) {
|
|
|
|
|
// System.out.println("[支付系统 cjy-module-pay - 已禁用][参考 https://doc.iocoder.cn/pay/build/ 开启]");
|
|
|
|
|
// }
|
|
|
|
|
// });
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private static boolean isNotPresent(String className) { |
|
|
|
|