cqp 2 giorni fa
parent
commit
09be90f100
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 4 2
      app/Service/TestService.php

+ 4 - 2
app/Service/TestService.php

@@ -764,7 +764,9 @@ class TestService extends Service
                     "cMemo"         => $data['cMemo'] ?? "接口生成",
                     "dDate"         => date("Y-m-d"),
                 ],
-                "iBody" => $inventoryEntry
+                "iBody" => [
+                    $inventoryEntry
+                ]
             ]
         ];
 
@@ -844,7 +846,7 @@ class TestService extends Service
                     "cMemo"         => $data['cMemo'] ?? "接口生成",
                     "dDate"       => date("Y-m-d"),
                 ],
-                "iBody" => $inventoryEntry
+                "iBody" => [$inventoryEntry]
             ]
         ];