You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hnu202326010131 802ef1ee2b
同步当前代码,强制更新 develop 分支
4 weeks ago
..
assets frontend: refactor to pure Vue3 with componentized views; add hash routing; auth gate; loader/error feedback; remove login section from users view\nbackend: add Node/Express API server; fix iconv-lite deps; add MySQL connection via DATABASE_URL and /api/db/ping; implement credential validation with ADMIN_USER/ADMIN_PASSWORD 4 weeks ago
src 后端:登录改为数据库校验(支持 bcrypt),新 mysql2/bcryptjs 依赖;提供 /api/db/ping\n前端:登录页仅依据后端返 success 设置登录态;移除用户页登录模块\n其他:修复依赖并更新连接配置 4 weeks ago
README.md feat(frontend): init Vite dev server on 5174 and dynamic admin UI 4 weeks ago
capacitor.config.json chore: 推送本地改动 4 weeks ago
index.html frontend: refactor to pure Vue3 with componentized views; add hash routing; auth gate; loader/error feedback; remove login section from users view\nbackend: add Node/Express API server; fix iconv-lite deps; add MySQL connection via DATABASE_URL and /api/db/ping; implement credential validation with ADMIN_USER/ADMIN_PASSWORD 4 weeks ago
package-lock.json feat(frontend): init Vite dev server on 5174 and dynamic admin UI 4 weeks ago
package.json frontend: refactor to pure Vue3 with componentized views; add hash routing; auth gate; loader/error feedback; remove login section from users view\nbackend: add Node/Express API server; fix iconv-lite deps; add MySQL connection via DATABASE_URL and /api/db/ping; implement credential validation with ADMIN_USER/ADMIN_PASSWORD 4 weeks ago
styles.css feat(frontend): add Vue 3 mobile scaffold and demo; Vite dev port 5174 4 weeks ago
vite.config.js frontend: refactor to pure Vue3 with componentized views; add hash routing; auth gate; loader/error feedback; remove login section from users view\nbackend: add Node/Express API server; fix iconv-lite deps; add MySQL connection via DATABASE_URL and /api/db/ping; implement credential validation with ADMIN_USER/ADMIN_PASSWORD 4 weeks ago
vite.config.ts feat(frontend): init Vite dev server on 5174 and dynamic admin UI 4 weeks ago

README.md

前端说明

  • 访问 index.html,在顶部设置后端地址(默认 http://localhost:8000
  • 支持按照后端文档进行常见操作:用户、邮件、设置、日志、通讯录、统计、邮箱
  • 提供 API 调试台,可直接输入路径与方法并发送

本地预览

  • 使用任意静态服务器在 frontend 目录运行,例如:
    • python3 -m http.server 5173 然后访问 http://localhost:5173/
    • 或直接在 IDE 预览

跨域

  • 若前端与后端不同源,请在后端增加 CORS 响应头