core/Mysql.php
public function existsField(string $tbname, string $field)
    {
        return $this->getRow('DESCRIBE `' . $tbname . '` `' . $field . '`;') !== null;
    }
public function existsField(string $tbname, string $field)
    {
        return $this->getRow('DESCRIBE `' . $tbname . '` `' . $field . '`;') !== null;
    }
判断字段是否存在
@param string $tbname
@param string $field
@return bool
@throws MysqlException