From d3534714ed8f07f19e0a648ab2d07c73d0bed156 Mon Sep 17 00:00:00 2001
From: colly_wyx <wangyixiong_007@163.com>
Date: Wed, 09 May 2018 16:03:12 +0800
Subject: [PATCH] 调整存入值类型

---
 Yfs/Model/Base.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Yfs/Model/Base.php b/Yfs/Model/Base.php
index 2b904a2..5758efe 100644
--- a/Yfs/Model/Base.php
+++ b/Yfs/Model/Base.php
@@ -53,7 +53,7 @@
         return $this->db->insert($this->table, $data);
     }
 
-    public function update($data, $query){
+    public function update($data, $query = null){
         return $this->db->update($this->table, $data, $query);
     }
 

--
Gitblit v1.8.0