# dbfile **Repository Path**: alethen/dbfile ## Basic Information - **Project Name**: dbfile - **Description**: 动态根据数据库导出数据库设计 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-03-07 - **Last Updated**: 2024-03-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 数据库导出word #### 一、Swagger地址 http://localhost:8080/swagger-ui.html #### 二、接口 ##### 2.1 导出系统默认数据库设计 ``` 接口: http://localhost:8080/table/toWord 类型: GET 参数: ?tableName=test 说明: 导出系统MASTER库的数据库设计,参数非空时只导出一张表的数据库设计,参数为空时导出全库的数据库设计 ``` ##### 2.2 导出自定义数据库设计 ``` 接口:http://localhost:8080/table/toWord/custom 类型:POST 参数:{ "jdbcUrl": "jdbc:mysql://127.0.0.1:3307/test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8", "username": "root", "password": "root" } 说明:根据参数调整并导出SLAVE库的数据库设计 ``` ##### 导出效果 ![image](export.png)