From f7a98b088d5f7246cf12ee072169057a8e762664 Mon Sep 17 00:00:00 2001
From: colly_wyx <wangyixiong_007@163.com>
Date: Thu, 10 Aug 2017 08:40:40 +0800
Subject: [PATCH] 新闻,数据监控
---
application/core/System/Model/Base.php | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/application/core/System/Model/Base.php b/application/core/System/Model/Base.php
index f4cbf7e..5e35537 100644
--- a/application/core/System/Model/Base.php
+++ b/application/core/System/Model/Base.php
@@ -50,8 +50,18 @@
return $this->db->insert($this->table, $data);
}
+ /**
+ * ������
+ * @param [type] $data [description]
+ * @param [type] $query [description]
+ * @return [type] [description]
+ */
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