fix formater

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-24 11:10:27 -04:00
parent c1e88f0ade
commit 2a8d1cabdc
5 changed files with 29 additions and 6 deletions
+21 -1
View File
@@ -332,7 +332,27 @@ function processOutJson($in, $out) {
);
}
break;
case WRENCHBOARD_MOBILE_PURCHASEHX:
$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(
"fee" => $out["fee_${key}"],
"amount" => $out["amount_${key}"],
"confirmation" => $out["confirmation_${key}"],
"status" => $out["status_${key}"],
"added_date" => $out["added_date_${key}"],
"payment_id" => $out["id_${key}"],
"payment_uid" => $out["uid_${key}"]
);
}
break;
case WRENCHBOARD_ACCOUNT_WALLETS:
$total = $out["total_record"];
$res = array(