mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-09 08:02:48 +08:00
修正
This commit is contained in:
@@ -308,7 +308,7 @@ class Model
|
|||||||
public function addAll($dataList, $options = [], $replace = false)
|
public function addAll($dataList, $options = [], $replace = false)
|
||||||
{
|
{
|
||||||
if (empty($dataList)) {
|
if (empty($dataList)) {
|
||||||
throw new Exception('no data to write')
|
throw new Exception('no data to write');
|
||||||
}
|
}
|
||||||
// 数据处理
|
// 数据处理
|
||||||
foreach ($dataList as $key => $data) {
|
foreach ($dataList as $key => $data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user