richarjiang
c3e46f7ffa
fix(teaching-schedule): 当日课表展示所有状态,并支持点入课程详情
...
- 后端 getTeachingScheduleByDate 在查询当天时不再以 PENDING/CONFIRMED 过滤 timeSlot
也不限制 include.bookings 的状态,但仍保留 EXISTS 守卫过滤空 slot
- 其他日期维持原「只看待上课」语义
- 抽出私有 formatLocalDate 工具方法,消除服务端 YYYY-MM-DD 构造的 3 处重复
- 前端 teaching-schedule 的 session 卡片可点击跳到 /pages/booking/detail?slotId=
- 补全 student__status--completed / --cancelled 样式
2026-09-09 14:51:06 +08:00
richarjiang
301f9ae385
feat: 优化页面 UI 以及支持个人中心 练习足迹
2026-09-08 11:26:46 +08:00
richarjiang
87d946adb5
fix: 修复月卡无法编辑次数的问题
2026-09-07 18:10:39 +08:00
richarjiang
86ad9ee64f
fix: 老师代约只允许已发布课表,去掉临时加开时段
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 17:21:19 +08:00
richarjiang
f5c7b7eaac
perf: 优化订阅刷新逻辑
2026-09-07 16:17:57 +08:00
richarjiang
bd3d519b4f
feat(app): 新增个人中心课表视图
2026-04-19 22:23:23 +08:00
richarjiang
9575210b06
feat: 支持分享邀请好友功能
2026-04-19 14:12:25 +08:00
richarjiang
d45a5b2c14
fix(server): support rebooking cancelled slots
2026-04-13 17:50:14 +08:00
richarjiang
6cee28bf66
feat: 支持管理员消息推送
2026-04-12 22:18:34 +08:00
richarjiang
c60821c5ff
perf: 支持约课以及消息推送能力
2026-04-12 21:44:44 +08:00
richarjiang
3a9982209f
feat: 完善课程订阅
2026-04-06 08:38:05 +08:00
richarjiang
994d1f75d5
feat(server): add booking, payment, and scheduler modules
...
Booking: reservation with atomic transactions, cancellation with refund
logic based on cancelHoursLimit (23 tests)
Payment: WeChat Pay integration (mock), order lifecycle, membership
creation on payment callback (13 tests)
Scheduler: cron tasks for slot generation, cleanup, membership expiry (8 tests)
109 total tests passing across 9 test suites
2026-04-02 12:33:50 +08:00