Open
Conversation
- 将HttpManager重命名为DioClient并移至core/dio目录 - 添加对UserInfo模型的支持和本地存储功能 - 新增getModel、getList、postModel方法支持模型解析 - 实现异步请求拦截器中的Token添加功能 - 添加用户信息存储和读取功能 refactor(pages): 优化页面结构和路由配置 - 将各页面组件移至对应子目录以改善项目结构 - 在RootLayout中添加路由同步功能,修复Tab选中状态问题 - 更新category页面的导入路径引用 - 删除旧的mine页面内容,迁移到新结构 feat(auth): 实现登录认证和路由保护机制 - 新增LoginPage组件,包含完整的登录表单和验证逻辑 - 实现用户登录功能,集成Token管理和用户信息存储 - 添加路由重定向逻辑,保护购物车和个人中心页面 - 创建UserInfo和LoginData数据模型 feat(utils): 添加全局日志工具类 - 创建LogUtils工具类,提供统一的日志管理功能 - 支持开发和发布环境的不同日志级别配置 - 提供带堆栈和无堆栈两种日志输出模式 - 在main.dart中初始化日志工具
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
refactor(pages): 优化页面结构和路由配置
feat(auth): 实现登录认证和路由保护机制
feat(utils): 添加全局日志工具类