From 1096ea245f4fb301e0e52a59f67d1e2817691e00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=8C=E5=85=88=E8=88=9C?= <2499071264@qq.com> Date: Mon, 10 Aug 2026 10:48:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=9D=E5=A7=8B=E5=8C=96gitignore?= =?UTF-8?q?=E5=92=8Creadme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 .gitignore create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..ff490a01 --- /dev/null +++ b/.gitignore @@ -0,0 +1,51 @@ +# 依赖与构建产物 +**/node_modules/ +**/dist/ +**/build/ +**/target/ +**/out/ +**/.next/ +**/.nuxt/ +**/coverage/ + +# 日志、缓存与临时文件 +**/*.log +**/*.tmp +**/*.temp +**/.cache/ +**/.eslintcache +**/npm-debug.log* +**/yarn-debug.log* +**/yarn-error.log* +**/pnpm-debug.log* + +# IDE 与操作系统文件 +.idea/ +.vscode/ +*.iml +.project +.classpath +.settings/ +.DS_Store +Thumbs.db + +# 本地环境和密钥配置(保留示例文件) +**/.env +**/.env.local +**/.env.*.local +!**/.env.example +!**/.env.*.example + +# Java 编译文件 +**/*.class +.trae/.ignore +.trae/cache-components/SKILL.md +.trae/code-reviewer/SKILL.md +.trae/find-skills/SKILL.md +.trae/fix/SKILL.md +.trae/frontend-code-review/SKILL.md +.trae/frontend-design/SKILL.md +.trae/fullstack-developer/SKILL.md +.trae/pr-creator/SKILL.md +.trae/update-docs/SKILL.md +.trae/webapp-testing/SKILL.md diff --git a/README.md b/README.md new file mode 100644 index 00000000..1d99f880 --- /dev/null +++ b/README.md @@ -0,0 +1,39 @@ +# zhgh_cug_v4 + +智慧工会系统本地开发说明。 + +## 访问入口 + +PC 管理端: + +```text +http://127.0.0.1/platform/login +``` + +H5 端: + +```text +http://127.0.0.1/platform/h5 +``` + +## 登录账号 + +```text +账号:superadmin +密码:以本地数据库或初始化数据为准 +``` + +## 本地启动参数 + +如果使用 `application-dev.yaml`,IDEA 的 VM options 可配置: + +```text +-Dnutz.profiles.active=dev --add-opens java.base/java.lang=ALL-UNNAMED +``` + +如果端口不是 80,需要在访问地址中补上端口号,例如: + +```text +http://127.0.0.1:8080/platform/login +http://127.0.0.1:8080/platform/h5 +```