Move image URL construction from WXML ternary to JS pre-processing.
This ensures fixImageUrl() is properly applied before template rendering.
Also reverts fixImageUrl to use API base URL (images served via backend).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Images are served from MinIO directly, not through /prod-api proxy.
Add imageBaseUrl to config and use it in fixImageUrl() and WXML templates.
This fixes images not loading on order list and detail pages.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add request.js for unified API calls with loading/error handling
- Add service page (service type listing)
- Fix hospital list to load from API with proper image URL construction
- Add service types dynamic loading on index page
- Various mini program improvements (order, care, wallet pages)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- 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>
- 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>
#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>