Commit Graph

3875 Commits (feat/task1-c-wallet)

Author SHA1 Message Date
Council d48edfb965 feat(Task1): C端票夹页面 + API 完成(附路由调试经验文档)
## Task 1 交付物
- view/goods/ticket_wallet.html       # 票夹页面
- api/Ticket.php                     # C端 API(list/detail/refreshQr)
- service/WalletService.php           # 票夹服务层
- index/Index.php                     # C端入口(wallet action)
- Hook.php                           # 注入票夹入口链接

## Bug 修复(Task1 调试过程中发现)
- index/Index.php: UserService::LoginInfo() → LoginUserInfo()
- Hook.php: session('user_id') → UserService::LoginUserInfo()(key 不存在)
- api/Ticket.php: LoginInfo() + :Json 返回类型 + json() 包裹
- WalletService.php: JOIN order 表 → 直接 WHERE user_id
- API URL: ?s=api/plugins/index(错误) → /api.php?s=plugins/index(正确)

## 新增文档
- docs/DEBUGGING_ROUTING.md  # 🔑 ShopXO 路由调试经验(必读)
- docs/TASK1_C_WALLET.md     # Task 1 交付文档
- README.md                  # 增加 Agent 快速索引

## 核心经验
ShopXO 多入口:页面=public/index.php,API=public/api.php,勿混用。
详见 docs/DEBUGGING_ROUTING.md
2026-04-24 09:48:32 +08:00
Council f346e1ebcb council(review): merge BackendArchitect verification to master, resolve plan.md conflict
- Consolidate SecurityEngineer cleanup status with BackendArchitect verification
- Add technical validation from master (git show)
- Note Docker service status (HTTP 200)
- Remove pending DevOps items (services already running)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-15 12:31:01 +08:00
Council ed920a6584 council(review): BackendArchitect - verify cleanup state and update plan.md
- Confirm all debug code removed from master (verified via git show)
- Confirm is_develop: false restored
- Confirm vr_ticket plugin committed (652433a)
- Confirm Goods.php fix in master (4747d92)
- Confirm Docker services running (shopxo-web HTTP 200)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-15 12:30:27 +08:00
Council a32f65de0e council(finalize): SecurityEngineer - sync master, update plan.md round 3
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-15 12:30:14 +08:00
Council 9620524812 council(cleanup): merge SecurityEngineer cleanup to master 2026-04-15 12:27:41 +08:00
Council b39dd768ce council(finalize): SecurityEngineer - update plan.md with completed cleanup status
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-15 12:27:37 +08:00
Council 652433abc3 council(cleanup): SecurityEngineer - cleanup debug artifacts, preserve vr_ticket plugin
Security cleanup:
- Removed file_put_contents() debug logging (isPower, plugins, aipower logs)
- Restored is_develop: false (was true, prevented stack trace leak)
- Restored Plugins.php permission check logic (was rewritten)
- Restored AdminPowerService.php cache bypass (admin_id==1 force refresh)
- Removed debug scripts: adminwatekc.php, debug_power.php, test_admin.php
- Preserved vr_ticket plugin (untracked, now committed to worktree)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-15 12:26:57 +08:00
Council 1997059523 council(draft): merge BackendArchitect+SecurityEngineer plan to master
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-15 12:23:37 +08:00
Council a6c3c87ea9 council(draft): SecurityEngineer - create plan.md with security risk assessment
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-15 12:21:29 +08:00
Council 99c2f21f77 council(draft): BackendArchitect - create plan.md for ShopXO worktree cleanup evaluation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-15 12:21:10 +08:00
bigemon 4747d92068 feat(Phase 1): Goods.php 1行改法 - item_type=ticket走独立模板
- 在 return MyView() 前加判断
- 查询 vr_seat_template 和 goods_spec_data 传递给模板
- 模板路径: /../../../plugins/vr_ticket/view/goods/ticket_detail
- 前端已验证渲染正常(座位图+场次+观演人表单)
2026-04-15 08:46:13 +08:00
gongfuxiang aad87b5874 v6.8.0商店信息文字优化 2026-03-04 13:09:50 +08:00
gongfuxiang 9021e461e5 v6.8.0 后台管理员头像读取优化 2026-03-04 10:52:50 +08:00
gongfuxiang bdf1fe5c77 v6.8.0 2026-03-04 10:21:47 +08:00
gongfuxiang fdc63d1214 diy,input 接口多余斜杠去除 2026-01-05 10:07:59 +08:00
gongfuxiang 09d32ef13f 表单,diy细节优化 2025-11-11 09:34:19 +08:00
gongfuxiang 64fc96d2df 购物车加入优化 2025-11-11 09:25:25 +08:00
gongfuxiang 586b61c7e3 商品不存在库存错误修复,默认仓库不存在优化 2025-11-11 09:03:21 +08:00
gongfuxiang 904981249a web手机端底部导航优化 2025-11-04 11:08:48 +08:00
gongfuxiang fb0fc8c212 用户信息展示优化 2025-10-28 11:01:16 +08:00
gongfuxiang 1578a50c85 微信发货同步优化 2025-10-28 10:40:11 +08:00
gongfuxiang e895d157a0 v6.7.1 2025-10-26 15:57:22 +08:00
gongfuxiang fd1f5ae0c8 商品参数复制js初始化错误修复 2025-10-08 17:33:41 +08:00
gongfuxiang ffe2f787e0 sql编码更新 2025-09-27 16:37:50 +08:00
gongfuxiang 643797a037 配置优化 2025-09-27 00:13:29 +08:00
gongfuxiang 0eb43fa8cc log 2025-09-26 21:09:19 +08:00
gongfuxiang 639d05521e 表单细节优化 2025-09-26 21:03:41 +08:00
gongfuxiang e8e3a66e95 商品购买细节优化 2025-09-23 23:02:52 +08:00
gongfuxiang d5ce4ef402 v6.7 sql 2025-09-23 21:42:27 +08:00
gongfuxiang e460fd2506 v6.7.0 2025-09-23 21:22:38 +08:00
gongfuxiang 93d73e9f51 新增商品评分数据,删除视频和虚拟信息附件 2025-05-13 21:46:05 +08:00
gongfuxiang 516bcef2c8 角色插件选择错误修 2025-05-08 19:04:14 +08:00
gongfuxiang bae6d746d2 diy打包错误修复 2025-05-06 10:07:43 +08:00
gongfuxiang 379804d4e4 diy导航组优化 2025-04-28 14:32:03 +08:00
gongfuxiang c1b39a920b 分类样式优化 2025-04-28 12:00:21 +08:00
gongfuxiang 1cded5ccf3 默认主题样式优化 2025-04-28 11:51:58 +08:00
gongfuxiang fda4082ddd diy数据选项卡文章支持错误修复 2025-04-28 00:11:21 +08:00
gongfuxiang 4d0cee219b diy优化,新增订单提交成功钩子 2025-04-27 14:25:46 +08:00
gongfuxiang 55c151f0e6 v6.6.0 md 2025-04-25 20:23:07 +08:00
gongfuxiang 2786d9db57 v6.6.0 2025-04-25 20:21:19 +08:00
gongfuxiang cbea8309ac 主域名获取优化 2025-03-27 16:39:50 +08:00
gongfuxiang 3fb645e96c sql去掉垃圾数据 2025-03-19 20:53:57 +08:00
gongfuxiang 6cc8c6610d 主域名截取优化 2025-03-14 10:26:52 +08:00
gongfuxiang 4a0b962883 安全优化 2025-03-12 20:57:10 +08:00
gongfuxiang e3b193d991 ip登录错误修复 2025-03-11 17:17:37 +08:00
gongfuxiang 60d98ad9a8 默认站点类型设置 2025-03-04 21:30:30 +08:00
gongfuxiang cebad3e767 细节优化 2025-03-04 20:46:45 +08:00
gongfuxiang 6d6d91fd58 配置读取优 2025-03-03 21:24:40 +08:00
gongfuxiang f89ebc8fe4 系统更新发布时间字段更新 2025-03-03 20:38:13 +08:00
gongfuxiang 211bd4edcf v6.5.0 2025-03-03 17:49:22 +08:00