This commit is contained in:
六如
2024-09-06 23:17:43 +08:00
parent 5dd9c597a9
commit 9a213743d7
132 changed files with 2491 additions and 2516 deletions

18
sop.sql
View File

@@ -2,7 +2,25 @@
CREATE DATABASE IF NOT EXISTS `sop` DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
USE `sop`;
-- 5.0
CREATE TABLE `api_info` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`application` varchar(64) NOT NULL DEFAULT '' COMMENT '应用名称',
`api_name` varchar(128) NOT NULL DEFAULT '' COMMENT '接口名称',
`api_version` varchar(16) NOT NULL DEFAULT '1.0' COMMENT '版本号',
`interface_class_name` varchar(128) NOT NULL DEFAULT '' COMMENT '接口class',
`method_name` varchar(128) NOT NULL DEFAULT '' COMMENT '方法名称',
`param_class_name` varchar(128) NOT NULL DEFAULT '' COMMENT '参数class',
is_ignore_validate tinyint(4) NOT NULL DEFAULT '0' COMMENT '忽略验证',
is_permission tinyint(4) NOT NULL DEFAULT '0' COMMENT '接口是否需要授权访问',
is_need_Token tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否需要appAuthToken',
status tinyint(4) NOT NULL DEFAULT '1' COMMENT '状态,1-启用,0-禁用',
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `uk_apiname_version` (`api_name`, api_version) USING BTREE
) ENGINE=InnoDB COMMENT='接口信息表';
DROP TABLE IF EXISTS `user_info`;