Family acc

This commit is contained in:
CHIEFSOFT\ameye
2023-05-20 12:19:51 -04:00
parent 691b8cf9e9
commit 9058696e1b
3 changed files with 11 additions and 4 deletions
@@ -91,6 +91,13 @@ long WrenchFamilyList(CVars in, CVars &out){
snprintf(vname, sizeof (vname), "age_%05d", i);
out[vname] = rec["age"];
snprintf(vname, sizeof (vname), "last_login_%05d", i);
out[vname] = rec["last_login"];
snprintf(vname, sizeof (vname), "task_count_%05d", i);
out[vname] = rec["task_count"];
}
}
ret = PHP_API_OK;
+2 -2
View File
@@ -140,8 +140,8 @@ class ResultFormatter extends Model
"firstname" => $out["firstname_${key}"],
"lastname" => $out["lastname_${key}"],
"age" => $out["age_${key}"],
"last_login" => '10-10-2024',
"task_count" => rand(0,20),
"last_login" => $out["last_login_${key}"],
"task_count" => $out["task_count_${key}"],
"added" => $out["added_${key}"],
);
}
+2 -2
View File
@@ -135,8 +135,8 @@ function processOutJson($in, $out) {
"firstname" => $out["firstname_${key}"],
"lastname" => $out["lastname_${key}"],
"age" => $out["age_${key}"],
"last_login" => '10-10-2024',
"task_count" => rand(0,20),
"last_login" => $out["last_login_${key}"],
"task_count" => $out["task_count_${key}"],
"added" => $out["added_${key}"],
);
}