store current user id

This commit is contained in:
2025-11-03 20:59:51 +07:00
parent 2a6ec8f6b8
commit 9df4b79a66
6 changed files with 123 additions and 10 deletions

View File

@@ -41,6 +41,11 @@ class ApiEndpoints {
/// Response: List of users
static const String users = '/PortalUser/GetAllMemberUserShortInfo';
/// Get current logged-in user
/// GET: /PortalUser/GetCurrentUser?getDep=false (requires auth token)
/// Response: Current user details
static const String getCurrentUser = '/PortalUser/GetCurrentUser?getDep=false';
// ==================== Warehouse Endpoints ====================
/// Get all warehouses