mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-08 15:42:48 +08:00
修正Merge模型类
This commit is contained in:
@@ -143,9 +143,10 @@ class Merge extends Model
|
|||||||
* @access public
|
* @access public
|
||||||
* @param mixed $data 数据
|
* @param mixed $data 数据
|
||||||
* @param array $where 更新条件
|
* @param array $where 更新条件
|
||||||
|
* @param bool $getId 新增的时候是否获取id
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function save($data = [], $where = [])
|
public function save($data = [], $where = [], $getId = true)
|
||||||
{
|
{
|
||||||
if (!empty($data)) {
|
if (!empty($data)) {
|
||||||
// 数据对象赋值
|
// 数据对象赋值
|
||||||
|
|||||||
Reference in New Issue
Block a user