colly_wyx
2017-08-10 f7a98b088d5f7246cf12ee072169057a8e762664
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);
    }
}