src/Controllers/DDocController.php
private function tableDetail($key, $table)
    {
        $content = "\n\n-------------------\n\n";
        $content .= "<h3 id='".$table->Name."'>".($key+1).". ".$table->Name."<h3>\n";
		$table->Comment && $content .= '> '.$table->Comment."\n";
        $content .= "|字段|类型|为空|键|默认值|特性|备注|\n|:---:|:---:|:---:|:---:|:---:|:---:|:---:|\n";
        foreach ($table->columns as $column){
            $content .= "|".$column->Field."|".$column->Type."|".$column->Null."|".$column->Key."|".$column->Default."|".$column->Extra."|".$column->Comment."|\n";
        }
        return $content;
    }
private function tableDetail($key, $table)
    {
        $content = "\n\n-------------------\n\n";
        $content .= "<h3 id='".$table->Name."'>".($key+1).". ".$table->Name."<h3>\n";
		$table->Comment && $content .= '> '.$table->Comment."\n";
        $content .= "|字段|类型|为空|键|默认值|特性|备注|\n|:---:|:---:|:---:|:---:|:---:|:---:|:---:|\n";
        foreach ($table->columns as $column){
            $content .= "|".$column->Field."|".$column->Type."|".$column->Null."|".$column->Key."|".$column->Default."|".$column->Extra."|".$column->Comment."|\n";
        }
        return $content;
    }
数据库 详情

@param $key
@param $table