建表语句

drop table if exists magic_api_file;
CREATE TABLE `magic_api_file` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`file_path` varchar(512) NOT NULL,
`file_content` mediumtext,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `magic_api_file_file_path_IDX` (`file_path`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4

导入接口数据到这个表后,点击右上角刷新按钮即可!!!

INSERT INTO magic_api_file (file_path,file_content) VALUES
('/magic-api/api/','this is directory')
,('/magic-api/api/a/','this is directory')
,('/magic-api/api/a/group.json','{
"properties" : { },
"id" : "f344e4858ed54c37a825d32742c60a96",
"name" : "a",
"type" : "api",
"parentId" : "0",
"path" : null,
"createTime" : 1673841678851,
"updateTime" : null,
"createBy" : null,
"updateBy" : null,
"paths" : [ ],
"options" : [ ]
}')
,('/magic-api/api/a/hello.ms','{
"properties" : { },
"id" : "00cab53619f244168e44fa59137eb3fc",
"script" : null,
"groupId" : "f344e4858ed54c37a825d32742c60a96",
"name" : "hello",
"createTime" : 1673841689882,
"updateTime" : null,
"lock" : null,
"createBy" : null,
"updateBy" : null,
"path" : "hello",
"method" : "GET",
"parameters" : [ ],
"options" : [ ],
"requestBody" : null,
"headers" : [ ],
"paths" : [ ],
"responseBody" : null,
"description" : null,
"requestBodyDefinition" : null,
"responseBodyDefinition" : null
}
================================
return ''Hello magic-api''')
,('/magic-api/datasource/','this is directory')
,('/magic-api/function/','this is directory')
;

最新文章

  1. JS里面Data日期格式转换
  2. 客户端GUI程序开发漫谈
  3. ubuntu命令行打开html文件的方法
  4. Redis持久化-数据丢失及解决(转载)
  5. android widget 点击进入应用
  6. HDU4745 - Two Rabbits(区间DP)
  7. 类集对enum的支持。
  8. iOS开发——OC篇&常用关键字的使用与区别
  9. surfaceView画图
  10. SqlServer拆分列
  11. 【原创】大叔案例分享(3)用户行为分析--见证scala的强大
  12. url传参过程中文字需编码、解码使用
  13. Silverlight多重表头实现
  14. Zabbix监控Low level discovery实时监控网站URL状态
  15. ios(包括6、7)应用程序引用系统通讯录的方法 [亲测可行]
  16. 显示iOS所有系统字体
  17. Dapper实用教程
  18. 批量执行命令:fabric
  19. How tomcat works学习笔记
  20. Java 学习 day08

热门文章

  1. 秀++视频算法仓库-厂家对接规约V5
  2. vue 过滤器时间格式化
  3. 2022-11-04 Acwing每日一题
  4. Kubeadm搭建kubernetes集群
  5. Crond服务+Shell实现秒级任务
  6. (GCC) C++代码中使用#pragma GCC optimize / #pragma G++ optimize
  7. day22 存储过程 & 游标 & 事务
  8. PHP8.1.10手动安装教程及报错解决梳理
  9. Linux—软件管理
  10. http转成https工具类