改进Merge类save方法

This commit is contained in:
thinkphp
2016-07-14 10:55:43 +08:00
parent c1d74107e6
commit 8831298e8f

View File

@@ -224,7 +224,7 @@ class Merge extends Model
}
// 处理模型数据
$data = $this->parseData($this->name, $this->data);
$data = $this->parseData($this->name, $this->data, true);
// 写入主表数据
$result = $db->name($this->name)->strict(false)->insert($data, $replace);
if ($result) {