From 4cfe436e9e3bdca5612baf5a4ae3b3e5eca1a229 Mon Sep 17 00:00:00 2001
From: colly <576734462@qq.com>
Date: Wed, 09 Aug 2017 14:29:47 +0800
Subject: [PATCH] 修正时间格式错误

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

diff --git a/Yfs/Model/Base.php b/Yfs/Model/Base.php
index 58de6e3..2b904a2 100644
--- a/Yfs/Model/Base.php
+++ b/Yfs/Model/Base.php
@@ -46,8 +46,18 @@
         return $this->db->insert($this->table, $data);
     }
 
+    /**
+     * [add description]
+     */
+    public function save($data){
+        return $this->db->insert($this->table, $data);
+    }
+
     public function update($data, $query){
         return $this->db->update($this->table, $data, $query);
     }
 
+    public function aggregate($params){
+        return $this->db->aggregate($this->table, $params);
+    }
 }

--
Gitblit v1.8.0