We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 264b9e3 + b37a5e2 commit 9a6afe0Copy full SHA for 9a6afe0
app/ApiJson/Method/PostMethod.php
@@ -26,7 +26,7 @@ protected function process()
26
}
27
$insertIds = [];
28
foreach ($insertData as $insertItem) {
29
- $insertIds[] = $this->query->insertGetId($insertItem); //因为需要返回ID 直接insert($insertData)不能得到本次插入的ID 未找到相关可用方法替代
+ $insertIds[] = $this->query->insert($insertItem); //因为需要返回ID 直接insert($insertData)不能得到本次插入的ID 未找到相关可用方法替代
30
31
$result = $this->parseManyResponse($insertIds, $this->isQueryMany());
32
0 commit comments