update profile api

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-22 17:59:40 -04:00
parent c563cbe210
commit 5aa9f6793a
9 changed files with 64 additions and 2 deletions
+23
View File
@@ -274,6 +274,29 @@ function processOutJson($in, $out) {
break;
case WRENCHBOARD_ACCOUNT_USER_RECIPEINT:
$total = $out["total_record"];
$res = array(
"status" => $out["status"],
"total_record" => ($total - 1),
"internal_return" => $out["internal_return"],
"result_list" => array(),
);
for ($i = 0; $i < $total; $i++) {
$key = sprintf("%05d", $i);
$res["result_list"][] = array(
"recipient" => $out["recipient_${key}"],
"account_no" => $out["account_no_${key}"],
"recipient_id" => $out["id_${key}"],
"recipient_uid" => $out["uid_${key}"],
"country" => $out["country_${key}"],
"added" => $out["added_${key}"]
);
}
break;
case WRENCHBOARD_ACCOUNT_WALLETS:
$total = $out["total_record"];
$res = array(