Commit Graph

4 Commits

Author SHA1 Message Date
renjianbo
97ad453e89 feat: implement serve-first-pay-later order flow
- Redesign order status: 0待接单→1已接单→2服务中→3待支付→4已完成
- Backend: startService now requires status=1, completeOrder sets status=3
- Backend: payment callback sets status=4, only status=3 can pay
- Backend: cancel only allowed at status 0/1 (not during service)
- Mini-program: update status labels and payment button to status=3
- Android: TobeSerFragment queries status=1, SerFragment queries status=2
- Update all status comments and UI mappings across three platforms

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-21 23:16:27 +08:00
renjianbo
b8761b0741 fix: fix hospital field names and handle empty escort name in paysuccess
- Fix hospital field mapping: hospitalname (not hospitalName), id (not hospitalId)
- Add loading placeholder for hospital picker before API response
- Handle null userbName in paysuccess page when escort not yet assigned
- Create rlz_order table and order_view in MySQL database

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-13 22:44:07 +08:00
renjianbo
909dfe3442 fix: rewrite paysuccess page, dynamic hospital list, remove hardcoded values
#11: Rewrite paysuccess page - remove e-commerce template, show order summary
#12: Load hospital list dynamically from /system/hospital/list API
#13: Remove hardcoded bId and ID number, add optional ID card input field

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-13 01:08:27 +08:00
rjb
d35c074569 chore: merge coupon as regular directory (replace submodule) 2026-05-11 07:36:26 +08:00