commit | bac75f25a4935e7624471420c201acc0d7c8b874 | [log] [tgz] |
---|---|---|
author | ybt <22301106@bjtu.edu.cn> | Sun Jun 08 22:31:15 2025 +0800 |
committer | ybt <22301106@bjtu.edu.cn> | Sun Jun 08 22:31:15 2025 +0800 |
tree | 9d287a156541a86d63b375d675d37d23488936ae | |
parent | 27eb6da3594eb5a3536773344d277cf1eb3b8476 [diff] |
feat(api): 重构 API 调用并优化用户认证流程 - 新增 auth、forum 和 user API 文件夹,重新组织 API 调用结构 - 重构 AuthContext,使用新 API 进行用户认证和信息管理 - 更新 AdminPanel、ForumPage 等组件,使用新的 API 调用 - 删除旧的 authApi.js 文件,清理冗余代码 - 优化用户登录、注册和登出流程,改进错误处理和用户提示 Change-Id: If664193e1bf30036c197f164edc5b10df75f1331
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available: