From 10d5eb526c41bc53f64d2801a88545b5975caa4b Mon Sep 17 00:00:00 2001 From: MMS Date: Wed, 5 Feb 2025 00:07:07 +0800 Subject: [PATCH] mms-admin --- .editorconfig | 18 ++ .gitignore | 103 ++++++++ .gitmodules | 9 + README.md | 204 +++++++++++++++ pom.xml | 685 ++++++++++++++++++++++++++++++++++++++++++++++++++ qodana.yaml | 31 +++ 6 files changed, 1050 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 README.md create mode 100644 pom.xml create mode 100644 qodana.yaml diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..25b312e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +# http://editorconfig.org +root = true + +# 空格替代Tab缩进在各种编辑工具下效果一致 +[*] +indent_style = space +indent_size = 4 +charset = utf-8 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +[*.{json,yml,yaml}] +indent_size = 2 + +[*.md] +insert_final_newline = false +trim_trailing_whitespace = false diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a030e74 --- /dev/null +++ b/.gitignore @@ -0,0 +1,103 @@ +# Compiled class file +*.class + +# Log file +*.log + +# BlueJ files +*.ctxt + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files +*.jar +*.war +*.nar +*.ear +*.zip +*.tar.gz +*.rar + +# Eclipse & IntelliJ IDEA +.classpath +.settings/ +.idea +.idea/ +*.iws +*.iml +*.ipr +.settings +.project +.flattened-pom.xml + +# Maven +target/ +pom.xml.tag +pom.xml.releaseBackup +pom.xml.versionsBackup +pom.xml.next +release.properties +dependency-reduced-pom.xml +buildNumber.properties +.mvn/timing.properties +.mvn/wrapper/maven-wrapper.jar + +# Gradle +.gradle +.gradle/ +build/ +**/build/ +bin/ +!src/**/build/ +gradle-app.setting +!gradle-wrapper.jar +.gradletasknamecache +gradle/wrapper/gradle-wrapper.properties + +# VS Code +.vscode/ + +# STS +.apt_generated +.factorypath +.springBeans +.sts4-cache + +# NetBeans +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +# DB +/script/db/.back_sxpcwlkj/ +/script/db/.version_sxpcwlkj/ +!/script/db/.back_sxpcwlkj/ + +.DS_Store +node_modules +/dist +package-lock.json +yarn.lock + +# local env files +.env.local +.env.*.local + +# Log files +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* + +# Editor directories and files +.vscode +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..603f6b9 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,9 @@ +[submodule "mms-ui"] + path = mms-ui + url = https://gitee.com/mmsAdmin/mms-ui.git +[submodule "mms-modules"] + path = mms-modules + url = https://gitee.com/mmsAdmin/mms-modules.git +[submodule "mms-patulous"] + path = mms-patulous + url = https://gitee.com/mmsAdmin/mms-patulous.git diff --git a/README.md b/README.md new file mode 100644 index 0000000..e9bff47 --- /dev/null +++ b/README.md @@ -0,0 +1,204 @@ +
+
+ + + +

模块化管理系统

+
+
+ +## ⚡️系统介绍 + +🔥🔥🔥模块化管理系统(Modular management +system),简称:MMS,是一款基于多应用模块用户、商品、支付、订单、分销、日志、定时、通信、直播、广告、文章等多模块应用开源系统,可快速的应用与各类项目研发中,定期更新功能修复、上新、技术栈分享 ( +十年磨一剑,做最有价值的开源项目)! + + +> MMS 是借鉴优秀的 RuoYi-Vue-Plus 项目架构思想,80%的架构重构,结合自己多年的后端系统开发打造的一款功能丰富的模块化系统(更懂程序员的系统) + +> 项目代码、文档 均开源免费可商用 ,活到老写到老 为兴趣而开源 为学习而开源. + +系统演示: [传送门](https://demo.sxpcwlkj.com) + +前端项目地址: [mms-ui](https://gitee.com/mmsAdmin/mms-ui) + +文档地址: [mms-doc](https://www.mmsadmin.cn/) + + +## 🧩系统版本 + + + +| 名称 | 项目名 | 项目地址 | 注意事项 | +|--------|:--------:|:---------------------------------------------:|-----------------------------------------------------------------------------| +| 基础版-后端 | mms | - [Gitee](https://gitee.com/mmsAdmin/mms) | 🙋‍♂️适用:纯后端的系统 | +| 基础版-前端 | mms-ui | - [Gitee](https://gitee.com/mmsAdmin/mms-ui) | 🙋‍♂️适配:基础版后端系统 | +| MMS商城版 | mms-mall | - [Gitee](https://gitee.com/mmsAdmin/mms-mall) | 🙋‍♂️若遇到问题请联系我们(备注:mms)
📢微信号:qq942879858
📢Q  Q号:942879858 | + +## 📦开发语言 + +
+ + + vue + vite + typescript + Pinia2 + eslint + pnpm + Prettier + Sass + WindCSS +
+ +## 🍃部署方式 + + +## 🤝模块介绍 + +| 序号 | 目录 | 子模块名称 | 模块名称 | 备注 | +|----|--------------|---------------|-----------|-------| +| 1 | mms-admin | | 系统管理启动模块 | 已完成 | +| 2 | mms-merchant | | 商户管理启动模块 | 待完成 | +| 3 | mms-mobile | | 移动端接口启动模块 | 已完成 | +| 4 | mms-modules | | MMS模块集 | 持续增加中 | +| 5 | |________ | mms-common | 公共模块 | 已完成 | +| 6 | |________ | mms-framework | 核心模块 | 已完成 | +| 7 | |________ | mms-mq | 消息队列 | 已完成 | +| 8 | |________ | mms-system | 系统管理 | 已完成 | +| 9 | mms-patulous | | 第三方模块集 | 已完成 | +| 10 | |________ | mms-generator | 代码生成 | 已完成 | +| 11 | |________ | mms-powerjob | 定时任务 | 已完成 | +| 12 | ui-admin | | 系统管理前端 | 已完成 | +| 13 | ui-mobile | | 移动端 | 已完成 | +| 14 | ui-tenant | | 商户管理前端 | 待完成 | + +## 📄软件架构 + +软件架构说明 + +| 框架 | 说明 | 版本 | 说明 | +|----------------------------------------------------------------------|-----------------------|---------------|-------| +| [SpringBoot](https://spring.io/projects/spring-boot/#learn) | 后端主框架 | 3.X | 3.1.5 +| [Undertow](https://undertow.io/) | 基于 XNIO 的高性能容器 | 2.7.6 | +| [Sa-Token](https://sa-token.dev33.cn/) | Sa-Token、Jwt(强解耦、强扩展) | 1.33.0 | +| [MySQL](https://dev.mysql.com/) | 关系数据库 | 适配 8.X 最低 5.7 | +| [Redis](https://redis.io/) | 缓存数据库 | 适配 6.X 最低 4.X | +| [Mybatis-Plus](https://baomidou.com/guide/) | 快速 CRUD 增加开发效率 | 3.5.4 | +| [Vue](https://staging-cn.vuejs.org/) | vue 框架 | 3.2.45 | +| [Vite](https://cn.vitejs.dev//) | 开发与构建工具 | 4.0.4 | +| [Element Plus](https://element-plus.org/zh-CN/) | Element Plus | 2.2.28 | +| [TypeScript](https://www.typescriptlang.org/docs/) | JavaScript 的超集 | 4.9.4 | +| [pinia](https://pinia.vuejs.org/) | Vue 存储库 替代 vuex5 | 2.0.28 | +| [vueuse](https://vueuse.org/) | 常用工具集 | 9.10.0 | +| [vxe-table](https://vxetable.cn/) | vue 最强表单 | 4.3.7 | +| [vue-i18n](https://kazupon.github.io/vue-i18n/zh/introduction.html/) | 国际化 | 9.2.2 | +| [vue-router](https://router.vuejs.org/) | vue 路由 | 4.1.6 | +| [windicss](https://cn.windicss.org/) | 下一代工具优先的 CSS 框架 | 3.5.6 | +| [iconify](https://icon-sets.iconify.design/) | 在线图标库 | 3.0.1 | +| [wangeditor](https://www.wangeditor.com/) | 富文本编辑器 | 5.1.23 | + +## 🎳演示图例 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

登录页面

后台首页

用户管理

新增用户

角色管理

添加角色

菜单管理

部门管理

字典管理

添加字典

系统设置

消息公告

代码生成1

代码生成2

代码生成3

代码生成4

定时任务

对象存储

扩展工具

个人中心

+ +# 😎 LICENSE + +::: tip MIT License +[https://gitee.com/mmsAdmin/mms/blob/master/LICENSE](https://gitee.com/mmsAdmin/mms/blob/master/LICENSE) +::: + +## ❌免责条款 + +  您充分了解并同意,您必须为自己使用本服务及注册帐号下的一切行为负责,包括您所发表的任何内容以及由此产生的任何后果。您应对本服务中的内容自行加以判断,并自行承担因使用内容而引起的所有风险。 + +  [mms](https://gitee.com/mmsAdmin/mms),[mms-ui](https://gitee.com/mmsAdmin/mms-ui) 对网站上所显示的信息或资料的准确性、内容、完整性、合法性、可靠性、可操作性或可用性不承担任何责任。 + +  [mms](https://gitee.com/mmsAdmin/mms),[mms-ui](https://gitee.com/mmsAdmin/mms-ui) 二次开发使用者因为违法而触犯中华人民共和国法律的,一切后果自己负责,`mms 作者` 不承担任何责任。 + +  本声明未涉及的问题参见国家有关法律法规,当本声明与国家法律法规冲突时,以国家法律法规为准。 + +## 🧪学习 & 商用 + +  [mms](https://gitee.com/mmsAdmin/mms),[mms-ui](https://gitee.com/mmsAdmin/mms-ui) 是免费和开源的,可免费用于 `学习`、`商业使用` 。 diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..f0589dc --- /dev/null +++ b/pom.xml @@ -0,0 +1,685 @@ + + + 4.0.0 + + com.sxpcwlkj + mms + ${revision} + + mms + https://www.sxpcwlkj.com + 陕西品创网络模块化系统 + pom + + + + + 1.0.6-Beta + 3.2.6 + 3.2.3 + UTF-8 + UTF-8 + 17 + + 3.5.16 + 3.5.7 + 1.4.7 + 4.3.1 + 8.2.0 + 42.7.3 + 3.9.1 + + 1.35.0.RC + 3.31.0 + 2.2.7 + 2.14.2 + 5.0.1-beta + 1.4.3 + 0.2.0 + 1.18.32 + 33.4.0-jre + 5.8.32 + 5.0.0-alpha.14 + 2.5.0 + 0.15.0 + 2.17.0 + 4.0.3 + + + + 3.1.0 + + 2.1.0 + + 3.16.1 + 3.22.12 + 7.12.1 + 5.6.137 + 0.10.313 + 1.12.429 + + + 2.7.0 + + 3.2.0 + + 2.9.10 + + 4.6.0 + 2.3.31 + 19.3.0.0 + 8.1.2.141 + 0.3.2 + 8.6.0 + 2.6.2 + + + 3.4.2 + 3.2.2 + 3.11.0 + 3.1.2 + 1.6.0 + 0.15.0 + + + + + + local + + + local + info + + + + true + + + + dev + + + dev + info + + + + prod + + prod + warn + + + + + + + + + + + org.springframework.boot + spring-boot-dependencies + ${spring-boot.version} + pom + import + + + + de.codecentric + spring-boot-admin-starter-server + ${spring-boot-admin.version} + + + + de.codecentric + spring-boot-admin-starter-client + ${spring-boot-admin.version} + + + org.springframework.boot + spring-boot-starter-actuator + ${spring-boot.version} + + + org.springframework.boot + spring-boot-starter-aop + ${spring-boot.version} + + + org.freemarker + freemarker + ${freemarker.version} + + + com.mysql + mysql-connector-j + ${mysql.version} + + + org.postgresql + postgresql + ${postgresql.version} + + + com.oracle.database.jdbc + ojdbc8 + ${oracle.version} + + + com.dameng + DmJdbcDriver18 + ${dameng.version} + + + cn.com.kingbase + kingbase8 + ${kingbase8.version} + + + + com.baomidou + dynamic-datasource-spring-boot3-starter + ${dynamic-dsb3.version} + + + org.mybatis + mybatis + ${mybatis.version} + + + com.baomidou + mybatis-plus-spring-boot3-starter + ${mybatis-plus.version} + + + com.baomidou + mybatis-plus-annotation + ${mybatis-plus.version} + + + ru.yandex.clickhouse + clickhouse-jdbc + ${clickhouse.version} + + + + + p6spy + p6spy + ${p6spy.version} + + + + + cn.dev33 + sa-token-spring-boot3-starter + ${satoken.version} + + + + cn.dev33 + sa-token-jwt + ${satoken.version} + + + cn.hutool + hutool-all + + + + + + cn.dev33 + sa-token-redis + ${satoken.version} + + + + org.apache.commons + commons-pool2 + ${commons-pool2.version} + + + + + org.redisson + redisson-spring-boot-starter + ${redisson.version} + + + com.baomidou + lock4j-redisson-spring-boot-starter + ${lock4j.version} + + + + + org.springframework.boot + spring-boot-starter-validation + ${spring-boot.version} + + + + + io.github.linpeilie + mapstruct-plus-spring-boot-starter + ${mapstruct-plus.version} + + + + + commons-io + commons-io + ${commons-io.version} + + + com.alibaba + easyexcel + ${easyexcel.version} + + + + + org.springdoc + springdoc-openapi-starter-webmvc-api + ${springdoc.version} + + + org.springdoc + springdoc-openapi-starter-webmvc-ui + ${springdoc.version} + + + com.github.therapi + therapi-runtime-javadoc + ${therapi-javadoc.version} + + + + + cn.hutool + hutool-bom + ${hutool.version} + pom + import + + + com.squareup.okhttp3 + okhttp + ${okhttp.version} + + + + + org.projectlombok + lombok + ${lombok.version} + + + + com.google.guava + guava + ${guava.version} + + + + com.alibaba + transmittable-thread-local + ${alibaba-ttl.version} + + + + + net.maku + maku-generator-boot-starter + ${maku-generator.version} + + + + + tech.powerjob + powerjob-worker-spring-boot-starter + ${powerjob.version} + + + tech.powerjob + powerjob-official-processors + ${powerjob.version} + + + + + org.dromara.x-file-storage + x-file-storage-spring + ${x-file-storage.version} + + + + + com.aliyun.oss + aliyun-sdk-oss + ${aliyun-sdk-oss.version} + + + + com.huaweicloud + esdk-obs-java + ${huaweicloud.obs.version} + + + + com.qiniu + qiniu-java-sdk + ${qiniu.sdk.version} + + + + com.qcloud + cos_api + ${qcloud.cos.version} + + + + com.baidubce + bce-java-sdk + ${baidubce.bce.version} + + + + com.amazonaws + aws-java-sdk-s3 + ${amazonaws.sdk.s3.version} + + + + + org.dromara.sms4j + sms4j-spring-boot-starter + ${sms4j.version} + + + + org.dromara.sms4j + sms4j-email-jakarta-core + ${sms4j.version} + + + + + org.lionsoul + ip2region + ${ip2region.version} + + + + + com.sxpcwlkj + mms-common + ${revision} + + + + com.sxpcwlkj + mms-framework + ${revision} + + + + com.sxpcwlkj + mms-datasource + ${revision} + + + + com.sxpcwlkj + mms-mq + ${revision} + + + + com.sxpcwlkj + mms-demo + ${revision} + + + + com.sxpcwlkj + mms-aliyun + ${revision} + + + + com.sxpcwlkj + mms-wx + ${revision} + + + + com.sxpcwlkj + mms-gen + ${revision} + + + + com.sxpcwlkj + mms-monitor + ${revision} + + + + com.sxpcwlkj + mms-oss + ${revision} + + + + com.sxpcwlkj + mms-sms + ${revision} + + + + com.sxpcwlkj + mms-email + ${revision} + + + + com.sxpcwlkj + mms-redis + ${revision} + + + + com.sxpcwlkj + mms-websocket + ${revision} + + + + com.sxpcwlkj + mms-authority + ${revision} + + + + + com.github.javen205 + IJPay-WxPay + ${IJPay.version} + + + + com.github.javen205 + IJPay-AliPay + ${IJPay.version} + + + + + com.github.binarywang + weixin-java-miniapp + ${weixin.version} + + + com.github.binarywang + weixin-java-pay + ${weixin.version} + + + com.github.binarywang + weixin-java-open + ${weixin.version} + + + com.github.binarywang + weixin-java-mp + ${weixin.version} + + + com.github.binarywang + weixin-java-cp + ${weixin.version} + + + + + + + mms-admin + mms-modules + mms-patulous + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + ${maven-compiler-plugin.verison} + + ${java.version} + ${java.version} + ${project.build.sourceEncoding} + + + com.github.therapi + therapi-runtime-javadoc-scribe + ${therapi-javadoc-plugin.version} + + + org.projectlombok + lombok + ${lombok.version} + + + org.springframework.boot + spring-boot-configuration-processor + ${spring-boot.version} + + + io.github.linpeilie + mapstruct-plus-processor + ${mapstruct-plus.version} + + + org.projectlombok + lombok-mapstruct-binding + ${mapstruct-plus.lombok.version} + + + + -parameters + + + + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + ${profiles.active} + + exclude + + + + + org.codehaus.mojo + flatten-maven-plugin + ${flatten-maven-plugin.version} + + true + resolveCiFriendliesOnly + + + + flatten + process-resources + + flatten + + + + flatten.clean + clean + + clean + + + + + + + + src/main/resources + + false + + + src/main/resources + + + application* + bootstrap* + banner* + + + true + + + + + + + public + huawei nexus + https://mirrors.huaweicloud.com/repository/maven/ + + true + + + + + + + public + huawei nexus + https://mirrors.huaweicloud.com/repository/maven/ + + true + + + false + + + + + diff --git a/qodana.yaml b/qodana.yaml new file mode 100644 index 0000000..08a316b --- /dev/null +++ b/qodana.yaml @@ -0,0 +1,31 @@ +#-------------------------------------------------------------------------------# +# Qodana analysis is configured by qodana.yaml file # +# https://www.jetbrains.com/help/qodana/qodana-yaml.html # +#-------------------------------------------------------------------------------# +version: "1.0" + +#Specify inspection profile for code analysis +profile: + name: qodana.starter + +#Enable inspections +#include: +# - name: + +#Disable inspections +#exclude: +# - name: +# paths: +# - + +projectJDK: 17 #(Applied in CI/CD pipeline) + +#Execute shell command before Qodana execution (Applied in CI/CD pipeline) +#bootstrap: sh ./prepare-qodana.sh + +#Install IDE plugins before Qodana execution (Applied in CI/CD pipeline) +#plugins: +# - id: #(plugin id can be found at https://plugins.jetbrains.com) + +#Specify Qodana linter for analysis (Applied in CI/CD pipeline) +linter: jetbrains/qodana-jvm:latest