Commit Graph

8 Commits

Author SHA1 Message Date
admin dcb187502d fix: 将 /cart 加入公开接口列表,避免 401 时跳转登录页
Build and Push Docker Image / build-and-push (push) Successful in 59s
Build and Push Docker Image / deploy (push) Successful in 8s
2026-07-13 02:30:08 +00:00
admin 7b81d2944a fix: 商品详情页未登录时不触发登录跳转
Build and Push Docker Image / build-and-push (push) Successful in 1m0s
Build and Push Docker Image / deploy (push) Successful in 7s
- request.ts: 增加 silent 选项支持静默请求
- request.ts: 公开接口 401 不显示消息也不跳转
- ProductDetail.vue: fetchUserCredits 先检查 token,未登录直接跳过请求
2026-07-13 00:52:08 +00:00
admin 6af4ac907e fix: 公开接口401错误不应跳转登录页
Build and Push Docker Image / build-and-push (push) Successful in 1m4s
Build and Push Docker Image / deploy (push) Successful in 9s
- 扩展公开接口列表,包括 products/categories/brands/banners/articles/lotteries
- 公开接口的401错误静默处理,不跳转登录页
- 修复商品详情页未登录时跳转登录的问题
2026-07-13 00:43:39 +00:00
admin d69b1444ff fix: 修复未登录访问购物车页面报错不跳转登录页
- 给需要认证的路由添加 requiresAuth meta
- 修改 API 拦截器,401 错误时跳转登录页
- 路由守卫在用户未登录时拦截并跳转登录页
- 避免公开接口和登录/注册接口的 401 错误触发跳转

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-02 20:09:15 +08:00
admin 692c104279 fix: 移除安装状态永久缓存,修复数据库重置后无法跳转安装页;优化登录401错误提示 2026-05-27 12:15:25 +08:00
admin 66199a692d fix: 登录失败时显示错误提示信息 2026-05-27 11:56:11 +08:00
admin 3a898e8aa0 fix: 全面修复项目问题
后端修复:
- 验证码存储与校验机制
- 订单创建事务+库存扣减
- GetStats字段名错误
- VerifyEmail改为POST
- 供应商更新字段白名单
- 文件删除安全检查
- 抽奖安全随机数
- 用户管理CRUD
- 订单取消/确认收货
- 工单回复
- Toggle返回新数据
- 移除死代码

前端修复:
- 404兜底路由
- 401软跳转
- API层统一
- 面包屑补充banners
- 国际化完善
- 购物车并行删除
- 退出清理购物车
- 供应商Dashboard数据
- 工单详情页
- 订单取消/确认收货
2026-05-06 09:55:01 +08:00
admin c6154273f2 Initial commit: 商品售卖网站 2026-04-13 07:20:09 +08:00