-rw-r--r-- | backend/php/src/index.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/backend/php/src/index.php b/backend/php/src/index.php index 58c10a9..3d23e7a 100644 --- a/backend/php/src/index.php +++ b/backend/php/src/index.php @@ -374,8 +374,15 @@ error_log("message"); $user = new user(); $user = $user->Get($_SESSION["userId"]); $result["header"] = $user->header; + $records = $user->GetRecordList(); + foreach ($records as $record) + { + $recordStats["updateDate"] = $record->update_date; + $recordsStats[$record->reference] = $recordStats; + } + $result["recordsStats"] = $recordsStats; $result["statistics"] = $user->statistics; $result["version"] = $user->version; //============================================================= |