自建API接口开发

This commit is contained in:
暮光:城中城
2021-12-25 20:46:19 +08:00
parent 7ce74938e8
commit 208826df62
38 changed files with 507 additions and 47 deletions

View File

@@ -15,6 +15,7 @@ CREATE TABLE `api_custom_request` (
`doc_id` bigint(20) DEFAULT NULL COMMENT 'api_doc主键ID',
`folder_id` bigint(20) DEFAULT NULL COMMENT '文件夹ID',
`api_name` varchar(250) DEFAULT NULL COMMENT '接口名称',
`method` varchar(20) DEFAULT NULL COMMENT '请求方式get、head、post、put、patch、delete、options、trace',
`api_url` text DEFAULT NULL COMMENT '接口url',
`form_data` text DEFAULT NULL COMMENT 'form参数',
`body_data` text DEFAULT NULL COMMENT 'body参数',
@@ -28,6 +29,7 @@ CREATE TABLE `api_custom_request` (
KEY `idx_doc_id` (`doc_id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='自建接口文档';
DROP TABLE IF EXISTS `api_custom_folder`;
CREATE TABLE `api_custom_folder` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键自增ID',