- Add POST /api/bff/pos/orders endpoint (Dapper, order+items+payment_method) - Add CreatePosOrderAsync to PosDataService with camelCase JSON serialization - Wire CafeDesktop ConfirmPayment to API (async, ProductId tracking, fallback) - Add TryRestoreSessionAsync to POS page init for JWT auth - Replace Forbid() with Unauthorized() + diagnostic logging
2.3 KiB
2.3 KiB
Scratchpad Context — GoodGo Platform
Updated: 2026-03-03 14:22
Trạng thái hệ thống
Infrastructure
- Docker: 29 containers running (healthy), Traefik reverse proxy
- DB: PostgreSQL (postgres-local), separate DB per service
- Cache: Redis (redis-local)
- Queue: RabbitMQ (rabbitmq-local)
- Storage: MinIO (minio-local)
Services (26 .NET microservices)
| Service | Status | Notes |
|---|---|---|
| iam-service-net | ✅ healthy | Auth, Users, Roles |
| merchant-service-net | ✅ healthy | Merchants, Shops, Staff |
| catalog-service-net | ✅ healthy | Products, Categories |
| order-service-net | ✅ healthy | Orders, Order Items |
| booking-service-net | ✅ healthy | Appointments, Resources |
| fnb-engine-net | ✅ healthy | Tables, Sessions |
| inventory-service-net | ✅ healthy | Stock management |
| promotion-service-net | ✅ healthy | Campaigns, Vouchers |
| membership-service-net | ✅ healthy | Members, Levels |
| wallet-service-net | ✅ healthy | Wallets, Transactions |
| chat-service-net | ✅ healthy | Chat, SignalR |
| social-service-net | ✅ healthy | Social features |
| storage-service-net | ✅ healthy | File storage |
| mining-service-net | ✅ healthy | Data mining |
| mission-service-net | ✅ healthy | Gamification |
| ads-*-service-net (5) | ✅ healthy | Ads ecosystem |
| mkt-*-service-net (4) | ✅ healthy | Marketing integrations |
Apps
| App | Type | Port | Status |
|---|---|---|---|
| web-client-tpos-net | Blazor WASM POS | 3001 | ✅ Running |
| web-client-base-net | Blazor Admin | — | Not deployed locally |
| app-client-base-net | .NET MAUI Mobile | — | Not deployed |
| app-client-base-swift | Swift iOS | — | Not deployed |
| web-docs | Documentation site | — | Not deployed |
Recent Changes (từ Git log)
d969f3d— feat: Replace hardcoded POS data with API-driven endpointsfe6e14c— feat: Unify POS with inline payment and tabs (path fix)15404a8— feat: Unify POS page with tabs and inline payment617a7ca— fix: Resolve 500 error on GET /api/v1/users endpointad6fe03— feat: Add users management page and enhance roles CRUDf3bfcc8— fix: Roles API response parsing and property mappingf353f88— feat: Redesign Home/NotFound pages, localize Dashboard
Blockers
- Chưa có