src/db/BuildSql.php
public function add($data = '', $exp = null, $value = null)
    {

        $this->data($data, $exp, $value);

        $this->bulidSql('INSERT');
        $result = $this->query();
        $id     = $this->link->lastInsertId();

        return $id;
    }
public function add($data = '', $exp = null, $value = null)
    {

        $this->data($data, $exp, $value);

        $this->bulidSql('INSERT');
        $result = $this->query();
        $id     = $this->link->lastInsertId();

        return $id;
    }
添加