[feat] 增加项目与用户的关联表

This commit is contained in:
2024-07-18 09:01:28 +08:00
parent f78bb5202d
commit c1eb26a7aa
2 changed files with 15 additions and 393 deletions

View File

@ -20,44 +20,20 @@ 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://t.zsxq.com/02Yf6M7Qn");
// 数据报表
if (isNotPresent("cn.iocoder.yudao.module.report.framework.security.config.SecurityConfiguration")) {
System.out.println("[报表模块 yudao-module-report - 已禁用][参考 https://doc.iocoder.cn/report/ 开启]");
}
// 工作流
if (isNotPresent("cn.iocoder.yudao.module.bpm.framework.flowable.config.BpmFlowableConfiguration")) {
System.out.println("[工作流模块 yudao-module-bpm - 已禁用][参考 https://doc.iocoder.cn/bpm/ 开启]");
}
// 商城系统
if (isNotPresent("cn.iocoder.yudao.module.trade.framework.web.config.TradeWebConfiguration")) {
System.out.println("[商城系统 yudao-module-mall - 已禁用][参考 https://doc.iocoder.cn/mall/build/ 开启]");
}
// ERP 系统
if (isNotPresent("cn.iocoder.yudao.module.erp.framework.web.config.ErpWebConfiguration")) {
System.out.println("[ERP 系统 yudao-module-erp - 已禁用][参考 https://doc.iocoder.cn/erp/build/ 开启]");
}
// CRM 系统
if (isNotPresent("cn.iocoder.yudao.module.crm.framework.web.config.CrmWebConfiguration")) {
System.out.println("[CRM 系统 yudao-module-crm - 已禁用][参考 https://doc.iocoder.cn/crm/build/ 开启]");
}
// 微信公众号
if (isNotPresent("cn.iocoder.yudao.module.mp.framework.mp.config.MpConfiguration")) {
System.out.println("[微信公众号 yudao-module-mp - 已禁用][参考 https://doc.iocoder.cn/mp/build/ 开启]");
}
// 支付平台
if (isNotPresent("cn.iocoder.yudao.module.pay.framework.pay.config.PayConfiguration")) {
System.out.println("[支付系统 yudao-module-pay - 已禁用][参考 https://doc.iocoder.cn/pay/build/ 开启]");
}
log.info("\n-----------------------------------------------------------------------------------\n\t" +
"\n" +
" /$$ /$$ /$$ /$$ /$$ /$$$$$$ /$$$$$$ /$$$$$ /$$ /$$\n" +
"| $$ / $$| $$$ /$$$| $$ /$$__ $$ /$$__ $$ |__ $$| $$ /$$/\n" +
"| $$/ $$/| $$$$ /$$$$| $$ | $$ \\ $$ | $$ \\__/ | $$ \\ $$ /$$/ \n" +
" \\ $$$$/ | $$ $$/$$ $$| $$ | $$ | $$ | $$$$$$ | $$ \\ $$$$/ \n" +
" >$$ $$ | $$ $$$| $$| $$ | $$ | $$ \\____ $$ /$$ | $$ \\ $$/ \n" +
" /$$/\\ $$| $$\\ $ | $$| $$ | $$/$$ $$ /$$ \\ $$| $$ | $$ | $$ \n" +
"| $$ \\ $$| $$ \\/ | $$| $$$$$$$$| $$$$$$/ | $$$$$$/| $$$$$$/ | $$ \n" +
"|__/ |__/|__/ |__/|________/ \\____ $$$ \\______/ \\______/ |__/ \n" +
" \\__/ \n" +
" \n" +
" \n" +
"\n-------------------------------------------------------------------------------------\n");
});
}