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.
1 parent ea6d55a commit b37a5e2Copy full SHA for b37a5e2
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