Commit Graph

12 Commits

Author SHA1 Message Date
renjianbo
068c47925e fix: add default avatar placeholder and correct debug API URL
- orderdetail: add fallback avatar image and onAvatarError handler
- Android: point debug build to cloud server (101.43.95.130)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-22 00:27:52 +08:00
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
17e91fcf84 refactor: redesign order flow - serve first, pay later
- Redesign order status flow: 0待接单→1已接单→2服务中→3待支付→4已完成
- Allow service start from status 1 (removed payment barrier)
- Add payment entry after service completion (status 3)
- Update Android/miniprogram UI status mappings
- Add order flow design document to docs/

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-21 00:56:17 +08:00
renjianbo
cccc88e2e2 refactor: de-submodule rlz backend and integrate all source code
Move rlz/ backend from git submodule to first-class source tree.
Includes all RuoYi 3.8.3 backend source, mapper XMLs, SQL scripts,
Dockerfile, and build configs. Also adds frontend enhancements:

- Order management: status filters, refund review, settlement (Issue #14)
- Hospital management: level/description/image fields (Issue #16)
- User management: type filter, userLevel, stats endpoint (Issue #17)
- Dev environment: application-dev.yml for rlz_dev database
- CI/CD: Drone pipeline configuration (.drone.yml)
- Mini program: API config extraction (coupon/utils/config.js)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-17 00:20:42 +08:00
renjianbo
3aa3bc5b27 fix: handle API response format with rows fallback in order list 2026-05-14 02:26:39 +08:00
renjianbo
f098c91844 chore: add new images, extension info page, and update project config 2026-05-14 02:03:06 +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
renjianbo
86c3965a1b fix: move payment button from status=1 to status=4 for pay-after-service flow 2026-05-13 00:55:00 +08:00
rjb
2ddbbb4886 fix: change mini-program backend URL to http://101.43.95.130:8039 2026-05-13 00:37:25 +08:00
rjb
d35c074569 chore: merge coupon as regular directory (replace submodule) 2026-05-11 07:36:26 +08:00
rjb
a02773e383 first commit 2026-01-26 15:02:59 +08:00