3 Commits

Author SHA1 Message Date
wren 3fb7e9f5d0 feat: stabilize document type and upload flows 2026-04-30 17:44:05 +08:00
wren dd249ccfb7 refactor: replace PostgREST calls in upload page with new API endpoints
- getDocumentTypes: switch from PostgREST /document_types to
  GET /api/document-types
- getTodayDocuments: switch from PostgREST /documents to
  GET /api/documents/list with userId + dateFrom params
- getQueueStatus: gracefully handle 404 (endpoint not yet migrated)
  by returning empty queue state instead of erroring
2026-04-30 12:27:51 +08:00
TanWenyan 0a436311c8 新增上传队列显示 2026-01-29 16:54:45 +08:00