colly_wyx
2018-04-16 aa6ae86fb26e57b57e5cc6a48178ff48d145f924
Yfs/Model/Base.php
@@ -46,6 +46,13 @@
        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);
    }