CREATE DATABASE IF NOT EXISTS `sop` DEFAULT CHARACTER SET utf8mb4;
USE `sop`;


DROP TABLE IF EXISTS `api_info`;
CREATE TABLE `api_info` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `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 '版本号',
  `description` varchar(64) DEFAULT '' COMMENT '接口描述',
  `remark` text COMMENT '备注',
  `interface_class_name` varchar(128) NOT NULL DEFAULT '' COMMENT '接口class',
  `method_name` varchar(128) NOT NULL DEFAULT '' COMMENT '方法名称',
  `param_info` text COMMENT '参数信息',
  `is_permission` tinyint(4) NOT NULL DEFAULT '0' COMMENT '接口是否需要授权访问',
  `is_need_Token` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否需要appAuthToken',
  `has_common_response` tinyint(4) DEFAULT '1' COMMENT '是否有公共响应参数',
  `reg_source` tinyint(4) NOT NULL DEFAULT '1' COMMENT '注册来源，1-系统注册,2-手动注册',
  `status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '1启用，0禁用',
  `add_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  `add_by` bigint(20) DEFAULT '0' COMMENT '创建人id',
  `update_by` bigint(20) DEFAULT '0' COMMENT '修改人id',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_apiname_version` (`api_name`,`api_version`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=36  COMMENT='接口信息表';

DROP TABLE IF EXISTS `doc_app`;
CREATE TABLE `doc_app` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `app_name` varchar(64) NOT NULL COMMENT '应用名称',
  `token` varchar(64) NOT NULL COMMENT 'Torna应用token',
  `is_publish` tinyint(4) DEFAULT '0' COMMENT '是否发布',
  `add_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  `add_by` bigint(20) DEFAULT '0' COMMENT '创建人id',
  `update_by` bigint(20) DEFAULT '0' COMMENT '修改人id',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5  COMMENT='文档应用';

DROP TABLE IF EXISTS `doc_content`;
CREATE TABLE `doc_content` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `doc_info_id` bigint(20) NOT NULL DEFAULT '0' COMMENT 'doc_info.id',
  `content` longtext COMMENT '文档内容',
  `add_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  `add_by` bigint(20) DEFAULT '0' COMMENT '创建人id',
  `update_by` bigint(20) DEFAULT '0' COMMENT '修改人id',
  PRIMARY KEY (`id`),
  KEY `idx_doc_info_id` (`doc_info_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=8  COMMENT='文档内容';

DROP TABLE IF EXISTS `doc_info`;
CREATE TABLE `doc_info` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `doc_app_id` bigint(20) NOT NULL COMMENT 'doc_app.id',
  `doc_title` varchar(128) NOT NULL COMMENT '文档标题',
  `doc_id` bigint(20) NOT NULL COMMENT '文档id',
  `doc_code` varchar(64) DEFAULT '' COMMENT '文档code',
  `doc_type` int(10) DEFAULT '1' COMMENT '文档类型,1-dubbo,2-富文本,3-Markdown',
  `source_type` int(10) DEFAULT '1' COMMENT '来源类型,1-torna,2-自建',
  `doc_version` varchar(16) NOT NULL COMMENT '文档版本号',
  `doc_name` varchar(64) NOT NULL COMMENT '文档名称',
  `description` text NOT NULL COMMENT '描述',
  `is_folder` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '是否分类',
  `is_publish` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '状态, 0-未发布,1-已发布',
  `parent_id` bigint(20) NOT NULL COMMENT '父节点id',
  `add_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  `add_by` bigint(20) DEFAULT '0' COMMENT '创建人id',
  `update_by` bigint(20) DEFAULT '0' COMMENT '修改人id',
  PRIMARY KEY (`id`),
  KEY `idx_doc_app_id` (`doc_app_id`) USING BTREE,
  KEY `idx_doc_id` (`doc_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=27  COMMENT='文档信息';

DROP TABLE IF EXISTS `isv_info`;
CREATE TABLE `isv_info` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `app_id` varchar(100) NOT NULL COMMENT 'appKey',
  `status` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '1启用，2禁用',
  `remark` varchar(512) DEFAULT NULL COMMENT '备注',
  `add_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  `add_by` bigint(20) DEFAULT '0' COMMENT '创建人id',
  `update_by` bigint(20) DEFAULT '0' COMMENT '修改人id',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_appid` (`app_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6  COMMENT='isv信息表';

DROP TABLE IF EXISTS `isv_keys`;
CREATE TABLE `isv_keys` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `isv_id` bigint(20) NOT NULL DEFAULT '0' COMMENT 'isv_info.id',
  `key_format` tinyint(4) NOT NULL DEFAULT '1' COMMENT '秘钥格式，1：PKCS8(JAVA适用)，2：PKCS1(非JAVA适用)',
  `public_key_isv` text NOT NULL COMMENT '开发者生成的公钥',
  `private_key_isv` text NOT NULL COMMENT '开发者生成的私钥（交给开发者）',
  `public_key_platform` text NOT NULL COMMENT '平台生成的公钥（交给开发者）',
  `private_key_platform` text NOT NULL COMMENT '平台生成的私钥',
  `add_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  `add_by` bigint(20) DEFAULT '0' COMMENT '创建人id',
  `update_by` bigint(20) DEFAULT '0' COMMENT '修改人id',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_appid` (`isv_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=21  COMMENT='ISV秘钥管理';

DROP TABLE IF EXISTS `perm_group`;
CREATE TABLE `perm_group` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `group_name` varchar(64) NOT NULL COMMENT '分组描述',
  `is_deleted` tinyint(4) DEFAULT '0' COMMENT '是否删除',
  `add_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  `add_by` bigint(20) DEFAULT '0' COMMENT '创建人id',
  `update_by` bigint(20) DEFAULT '0' COMMENT '修改人id',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4  COMMENT='分组表';

DROP TABLE IF EXISTS `perm_group_permission`;
CREATE TABLE `perm_group_permission` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `group_id` bigint(20) NOT NULL DEFAULT '0' COMMENT 'perm_group.id',
  `api_id` bigint(20) NOT NULL DEFAULT '0' COMMENT 'api_info.id',
  `add_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  `add_by` bigint(20) DEFAULT '0' COMMENT '创建人id',
  `update_by` bigint(20) DEFAULT '0' COMMENT '修改人id',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_apiid_groupid` (`api_id`,`group_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=16  COMMENT='组权限表';

DROP TABLE IF EXISTS `perm_isv_group`;
CREATE TABLE `perm_isv_group` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `isv_id` bigint(20) NOT NULL COMMENT 'isv_info表id',
  `group_id` bigint(20) NOT NULL DEFAULT '0' COMMENT 'perm_group.id',
  `add_time` datetime DEFAULT CURRENT_TIMESTAMP,
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `add_by` bigint(20) DEFAULT '0' COMMENT '创建人id',
  `update_by` bigint(20) DEFAULT '0' COMMENT '修改人id',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_isvid_groupid` (`isv_id`,`group_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=13  COMMENT='isv分组';

DROP TABLE IF EXISTS `sys_admin_user`;
CREATE TABLE `sys_admin_user` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `username` varchar(128) NOT NULL DEFAULT '' COMMENT '用户名',
  `password` varchar(128) NOT NULL DEFAULT '' COMMENT '密码',
  `nickname` varchar(64) NOT NULL DEFAULT '' COMMENT '用户名',
  `email` varchar(128) NOT NULL DEFAULT '' COMMENT '邮箱',
  `avatar` varchar(128) NOT NULL DEFAULT '' COMMENT '头像',
  `status` tinyint(4) unsigned NOT NULL DEFAULT '1' COMMENT '状态，1：启用，2：禁用',
  `reg_type` varchar(32) NOT NULL DEFAULT '1' COMMENT '注册类型，1-系统，2-手动',
  `add_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  `add_by` bigint(20) DEFAULT '0' COMMENT '创建人id',
  `update_by` bigint(20) DEFAULT '0' COMMENT '修改人id',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_username` (`username`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=2  COMMENT='系统用户表';

DROP TABLE IF EXISTS `sys_config`;
CREATE TABLE `sys_config` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键id',
  `config_key` varchar(64) NOT NULL DEFAULT '' COMMENT '配置key',
  `config_value` varchar(256) NOT NULL DEFAULT '' COMMENT '配置值',
  `remark` varchar(128) NOT NULL DEFAULT '' COMMENT '备注',
  `is_deleted` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否删除',
  `add_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  `add_by` bigint(20) DEFAULT '0' COMMENT '创建人id',
  `update_by` bigint(20) DEFAULT '0' COMMENT '最后更新人id',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uk_configkey` (`config_key`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=7  COMMENT='系统配置表';

DROP TABLE IF EXISTS `sys_dept`;
CREATE TABLE `sys_dept` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `name` varchar(64) NOT NULL DEFAULT '' COMMENT '部门名称',
  `sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
  `status` tinyint(4) unsigned NOT NULL DEFAULT '1' COMMENT '状态，1：启用，2：禁用',
  `remark` varchar(64) NOT NULL DEFAULT '' COMMENT '备注',
  `parent_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '父级id',
  `add_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  `add_by` bigint(20) DEFAULT '0' COMMENT '创建人id',
  `update_by` bigint(20) DEFAULT '0' COMMENT '修改人id',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4  COMMENT='部门表';

DROP TABLE IF EXISTS `sys_resource`;
CREATE TABLE `sys_resource` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `menu_type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '菜单类型（0代表菜单、1代表iframe、2代表外链、3代表按钮）',
  `title` varchar(64) DEFAULT NULL COMMENT '菜单名称',
  `name` varchar(64) DEFAULT NULL COMMENT '路由名称',
  `path` varchar(128) DEFAULT NULL COMMENT '路由路径',
  `component` varchar(128) DEFAULT NULL COMMENT '路由路径',
  `rank` int(11) DEFAULT NULL COMMENT '排序',
  `redirect` varchar(128) DEFAULT NULL COMMENT '路由重定向',
  `icon` varchar(128) DEFAULT NULL COMMENT '菜单图标',
  `extra_icon` varchar(64) DEFAULT NULL COMMENT '右侧图标',
  `enter_transition` varchar(64) DEFAULT NULL COMMENT '进场动画（页面加载动画）',
  `leave_transition` varchar(64) DEFAULT NULL COMMENT '离场动画（页面加载动画）',
  `active_path` varchar(64) DEFAULT NULL COMMENT '菜单激活',
  `auths` varchar(64) DEFAULT NULL COMMENT '权限标识',
  `frame_src` varchar(128) DEFAULT NULL COMMENT '链接地址（需要内嵌的`iframe`链接地址）',
  `frame_loading` tinyint(4) DEFAULT '1' COMMENT '加载动画（内嵌的`iframe`页面是否开启首次加载动画）',
  `keep_alive` tinyint(4) DEFAULT '0' COMMENT '缓存页面',
  `hidden_tag` tinyint(4) DEFAULT '0' COMMENT '标签页（当前菜单名称或自定义信息禁止添加到标签页） ',
  `fixed_tag` tinyint(4) DEFAULT '0' COMMENT '固定标签页（当前菜单名称是否固定显示在标签页且不可关闭）',
  `show_link` tinyint(4) unsigned DEFAULT '1' COMMENT '菜单（是否显示该菜单）',
  `show_parent` tinyint(4) unsigned DEFAULT NULL COMMENT '父级菜单（是否显示父级菜单',
  `parent_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '父级id',
  `is_deleted` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否删除',
  `add_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  `add_by` bigint(20) DEFAULT '0' COMMENT '创建人id',
  `update_by` bigint(20) DEFAULT '0' COMMENT '修改人id',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=21  COMMENT='菜单资源表';

DROP TABLE IF EXISTS `sys_role`;
CREATE TABLE `sys_role` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `name` varchar(64) NOT NULL DEFAULT '' COMMENT '角色名称',
  `code` varchar(64) NOT NULL DEFAULT '' COMMENT '角色code',
  `remark` varchar(128) NOT NULL DEFAULT '' COMMENT '备注',
  `status` tinyint(4) unsigned NOT NULL DEFAULT '1' COMMENT '状态，1：启用，2：禁用',
  `is_deleted` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否删除',
  `add_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  `add_by` bigint(20) DEFAULT '0' COMMENT '创建人id',
  `update_by` bigint(20) DEFAULT '0' COMMENT '修改人id',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_code` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=4  COMMENT='角色表';

DROP TABLE IF EXISTS `sys_role_resource`;
CREATE TABLE `sys_role_resource` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `role_id` bigint(20) NOT NULL DEFAULT '0' COMMENT 'sys_role.id',
  `resource_id` bigint(20) NOT NULL DEFAULT '0' COMMENT 'sys_resource.id',
  `add_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  `add_by` bigint(20) DEFAULT '0' COMMENT '创建人id',
  `update_by` bigint(20) DEFAULT '0' COMMENT '修改人id',
  PRIMARY KEY (`id`),
  KEY `idx_role_id` (`role_id`)
) ENGINE=InnoDB AUTO_INCREMENT=109  COMMENT='角色资源关联表';

DROP TABLE IF EXISTS `sys_user`;
CREATE TABLE `sys_user` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `username` varchar(128) NOT NULL DEFAULT '' COMMENT '用户名',
  `password` varchar(128) NOT NULL DEFAULT '' COMMENT '密码',
  `nickname` varchar(64) NOT NULL DEFAULT '' COMMENT '昵称',
  `phone` varchar(32) NOT NULL DEFAULT '' COMMENT '邮箱',
  `email` varchar(128) NOT NULL DEFAULT '' COMMENT '邮箱',
  `avatar` varchar(256) NOT NULL DEFAULT '' COMMENT '头像',
  `gender` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '性别,0-未知,1-男,2-女',
  `status` tinyint(4) unsigned NOT NULL DEFAULT '1' COMMENT '状态，1：启用，2：禁用',
  `reg_type` varchar(32) NOT NULL DEFAULT 'backend' COMMENT '注册类型',
  `remark` varchar(128) NOT NULL DEFAULT '' COMMENT '备注',
  `add_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  `add_by` bigint(20) DEFAULT '0' COMMENT '创建人id',
  `update_by` bigint(20) DEFAULT '0' COMMENT '修改人id',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_username` (`username`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=4  COMMENT='系统用户表';

DROP TABLE IF EXISTS `sys_user_dept`;
CREATE TABLE `sys_user_dept` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `user_id` bigint(20) NOT NULL DEFAULT '0' COMMENT 'sys_user.id',
  `dept_id` bigint(20) NOT NULL DEFAULT '0' COMMENT 'sys_dept.id',
  `add_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  `add_by` bigint(20) DEFAULT '0' COMMENT '创建人id',
  `update_by` bigint(20) DEFAULT '0' COMMENT '修改人id',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_userid_deptid` (`user_id`,`dept_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6  COMMENT='用户部门关联表';

DROP TABLE IF EXISTS `sys_user_role`;
CREATE TABLE `sys_user_role` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `role_id` bigint(20) NOT NULL DEFAULT '0' COMMENT 'sys_role.id',
  `user_id` bigint(20) NOT NULL DEFAULT '0' COMMENT 'sys_user.id',
  `add_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  `add_by` bigint(20) DEFAULT '0' COMMENT '创建人id',
  `update_by` bigint(20) DEFAULT '0' COMMENT '修改人id',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_userid_roleid` (`user_id`,`role_id`)
) ENGINE=InnoDB AUTO_INCREMENT=7  COMMENT='角色用户关联表';


-- insert

INSERT INTO `api_info` (`id`, `application`, `api_name`, `api_version`, `description`, `remark`, `interface_class_name`, `method_name`, `param_info`, `is_permission`, `is_need_Token`, `has_common_response`, `reg_source`, `status`, `add_time`, `update_time`, `add_by`, `update_by`) VALUES
                                                                                                                                                                                                                                                                                             (1, 'product-service', 'product.get', '1.0', '根据id获取故事', '', 'com.gitee.sop.productweb.open.OpenProduct', 'getById', '[{\"name\":\"id\",\"type\":\"java.lang.Integer\"}]', 0, 0, 1, 1, 1, '2024-09-10 18:34:05', '2024-12-22 07:39:35', 0, 0),
                                                                                                                                                                                                                                                                                             (2, 'product-service', 'product.save', '1.0', '', '', 'com.gitee.sop.productweb.open.OpenProduct', 'save', '[{\"name\":\"request\",\"type\":\"com.gitee.sop.productweb.open.req.ProductSaveRequest\"}]', 0, 0, 1, 1, 1, '2024-09-10 18:34:05', '2024-12-22 07:39:35', 0, 0),
                                                                                                                                                                                                                                                                                             (3, 'product-service', 'product.find', '1.0', '', '', 'com.gitee.sop.productweb.open.OpenProduct', 'getById', '[{\"name\":\"id\",\"type\":\"java.lang.Integer\"},{\"name\":\"name\",\"type\":\"java.lang.String\"}]', 0, 0, 1, 1, 1, '2024-09-10 18:38:27', '2024-12-22 07:39:35', 0, 0),
                                                                                                                                                                                                                                                                                             (4, 'product-service', 'product.find2', '1.0', '', '', 'com.gitee.sop.productweb.open.ProductService', 'getById2', '[{\"name\":\"id\",\"type\":\"java.lang.Integer\"},{\"name\":\"name\",\"type\":\"java.lang.String\"}]', 0, 0, 1, 1, 1, '2024-09-10 18:44:51', '2024-09-10 18:44:51', 0, 0),
                                                                                                                                                                                                                                                                                             (5, 'product-service', 'product.find3', '1.0', '', '', 'com.gitee.sop.productweb.open.ProductService', 'getById2', '[{\"name\":\"id\",\"type\":\"java.lang.Integer\"},{\"name\":\"name\",\"type\":\"java.lang.String\"}]', 0, 0, 1, 1, 1, '2024-09-10 18:49:14', '2024-09-10 18:49:14', 0, 0),
                                                                                                                                                                                                                                                                                             (6, 'product-service', 'product.update', '1.0', '', '', 'com.gitee.sop.productweb.open.OpenProduct', 'update', '[{\"name\":\"id\",\"type\":\"java.lang.Integer\"},{\"name\":\"request\",\"type\":\"com.gitee.sop.productweb.open.req.ProductSaveRequest\"}]', 0, 0, 1, 1, 1, '2024-09-10 23:00:07', '2024-12-22 07:39:35', 0, 0),
                                                                                                                                                                                                                                                                                             (7, 'product-service', 'product.upload', '1.0', '', '', 'com.gitee.sop.productweb.open.OpenProduct', 'upload', '[{\"name\":\"request\",\"type\":\"com.gitee.sop.productweb.open.req.ProductSaveRequest\"},{\"name\":\"file\",\"type\":\"com.gitee.sop.support.dto.FileData\"}]', 0, 0, 1, 1, 1, '2024-09-13 09:14:03', '2024-12-22 07:39:35', 0, 0),
                                                                                                                                                                                                                                                                                             (8, 'product-service', 'product.upload.more', '1.0', '', '', 'com.gitee.sop.productweb.open.OpenProduct', 'upload2', '[{\"name\":\"request\",\"type\":\"com.gitee.sop.productweb.open.req.ProductSaveRequest\"},{\"name\":\"idCardFront\",\"type\":\"com.gitee.sop.support.dto.FileData\"},{\"name\":\"idCardBack\",\"type\":\"com.gitee.sop.support.dto.FileData\"}]', 0, 0, 1, 1, 1, '2024-09-13 09:22:05', '2024-12-22 07:39:35', 0, 0),
                                                                                                                                                                                                                                                                                             (9, 'product-service', 'product.upload.list', '1.0', '', '', 'com.gitee.sop.productweb.open.OpenProduct', 'upload3', '[{\"name\":\"request\",\"type\":\"com.gitee.sop.productweb.open.req.ProductSaveRequest\"},{\"actualType\":\"com.gitee.sop.support.dto.FileData\",\"name\":\"files\",\"type\":\"java.util.List\"}]', 0, 0, 1, 1, 1, '2024-09-13 09:28:01', '2024-12-22 07:39:35', 0, 0),
                                                                                                                                                                                                                                                                                             (10, 'product-service', 'product.get', '2.0', '', '', 'com.gitee.sop.productweb.open.OpenProduct', 'getByIdV2', '[{\"name\":\"id\",\"type\":\"java.lang.Long\"}]', 1, 0, 1, 1, 1, '2024-09-14 10:40:13', '2024-12-22 08:28:31', 0, 1),
                                                                                                                                                                                                                                                                                             (11, 'product-service', 'product.download', '1.0', '11', '', 'com.gitee.sop.productweb.open.OpenProduct', 'download', '[{\"name\":\"id\",\"type\":\"java.lang.Integer\"}]', 0, 0, 1, 1, 1, '2024-09-16 20:56:09', '2024-12-22 07:39:35', 0, 0),
                                                                                                                                                                                                                                                                                             (14, 'q1', 'q11', 'q', 'q1', '备注，内容有点长内容有点长内容有点长内容有点长内容有点长内容有点长', '', '', NULL, 1, 0, 1, 1, 2, '2024-10-06 09:51:47', '2024-11-13 10:20:56', 0, 1),
                                                                                                                                                                                                                                                                                             (15, 'server', 'goods.get', '1.0', '1111', '2222225555', '', '', NULL, 1, 0, 1, 2, 2, '2024-10-10 10:38:59', '2024-10-25 20:19:29', 0, 0),
                                                                                                                                                                                                                                                                                             (18, 'payment-service', 'alipay.trade.wap.pay', '2.0', NULL, NULL, 'com.gitee.sop.payment.open.OpenPayment', 'tradeWapPay', '[{\"name\":\"request\",\"type\":\"com.gitee.sop.payment.open.req.AlipayTradeWapPayRequest\"}]', 0, 0, 1, 1, 1, '2024-10-27 17:12:20', '2024-10-27 21:02:07', 0, 0),
                                                                                                                                                                                                                                                                                             (19, 'product-service', 'product.updateError', '1.0', NULL, NULL, 'com.gitee.sop.productweb.open.OpenProduct', 'updateError', '[{\"name\":\"id\",\"type\":\"java.lang.Integer\"}]', 0, 0, 1, 1, 1, '2024-11-03 22:26:14', '2024-12-22 07:39:35', 0, 0),
                                                                                                                                                                                                                                                                                             (20, 'product-service', 'product.get', '3.0', NULL, NULL, 'com.gitee.sop.productweb.open.OpenProduct', 'getByIdV3', '[{\"name\":\"id\",\"type\":\"java.lang.Long\"},{\"name\":\"request\",\"type\":\"com.gitee.sop.support.dto.OpenRequest\"}]', 0, 0, 1, 1, 1, '2024-11-04 14:27:07', '2024-11-08 09:47:27', 0, 0),
                                                                                                                                                                                                                                                                                             (21, 'product-service', 'product.get.context', '1.0', NULL, NULL, 'com.gitee.sop.productweb.open.OpenProduct', 'getContext', '[{\"name\":\"id\",\"type\":\"java.lang.Long\"},{\"name\":\"context\",\"type\":\"com.gitee.sop.support.context.OpenContext\"}]', 0, 0, 1, 1, 1, '2024-11-10 23:06:45', '2024-12-22 07:39:35', 0, 0),
                                                                                                                                                                                                                                                                                             (22, 'payment-service', 'pay.trade.wap.pay', '1.0', '手机网站支付接口', NULL, 'com.gitee.sop.payment.open.OpenPayment', 'tradeWapPay', '[{\"name\":\"request\",\"type\":\"com.gitee.sop.payment.open.req.PayTradeWapPayRequest\"}]', 0, 0, 1, 1, 1, '2024-11-29 22:28:20', '2024-12-02 10:14:26', 0, 0),
                                                                                                                                                                                                                                                                                             (23, 'payment-service', 'pay.order.search', '1.0', '订单查询接口', NULL, 'com.gitee.sop.payment.open.OpenPayment', 'orderSearch', '[{\"name\":\"request\",\"type\":\"com.gitee.sop.payment.open.req.PayOrderSearchRequest\"}]', 0, 0, 1, 1, 1, '2024-11-29 22:28:20', '2024-12-02 10:14:26', 0, 0),
                                                                                                                                                                                                                                                                                             (24, 'product-service', 'alipay.product.find', '1.0', NULL, NULL, 'com.gitee.sop.productweb.open.OpenProduct', 'findByName', '[{\"name\":\"name\",\"type\":\"java.lang.String\"}]', 0, 0, 1, 1, 1, '2024-12-21 19:48:40', '2024-12-22 07:39:35', 0, 0);

INSERT INTO `doc_app` (`id`, `app_name`, `token`, `is_publish`, `add_time`, `update_time`, `add_by`, `update_by`) VALUES
                                                                                                                      (3, '支付服务', '34ff76952462413982d21219cf099d46', 1, '2024-11-26 09:19:29', '2024-11-29 22:49:20', 1, 1),
                                                                                                                      (4, '故事服务', 'd4f07434c9cf4a989e4c6d301684b357', 0, '2024-12-21 15:11:55', '2024-12-21 15:11:55', 1, 1);

INSERT INTO `doc_content` (`id`, `doc_info_id`, `content`, `add_time`, `update_time`, `add_by`, `update_by`) VALUES
                                                                                                                 (1, 15, '{\"children\":[],\"contentType\":\"application/json\",\"description\":\"该接口是页面跳转接口，用于生成用户访问支付宝的跳转链接。请在服务端执行支付宝SDK中pageExecute方法，读取响应中的body()结果。该结果用于跳转到支付宝页面，返回到用户浏览器渲染或重定向跳转到支付宝页面。具体使用方法请参考 <a href=\\\"https://torna.cn\\\" target=\\\"_blank\\\">接入指南</a>\",\"docName\":\"手机网站支付接口2.0\",\"docTitle\":\"手机网站支付接口2.0\",\"errorCodeParams\":[],\"globalHeaders\":[],\"globalParams\":[],\"globalReturns\":[],\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-27 00:12:00\",\"headerParams\":[],\"headerParamsRaw\":[],\"httpMethod\":\"POST\",\"id\":649,\"isFolder\":0,\"name\":\"手机网站支付接口2.0\",\"parentId\":640,\"pathParams\":[],\"queryParams\":[],\"requestParams\":[{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商户网站唯一订单号\",\"docId\":649,\"enumId\":0,\"example\":\"70501111111S001111119\",\"global\":false,\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-26 09:50:23\",\"id\":6480,\"maxLength\":\"64\",\"modifierName\":\"Jim\",\"name\":\"out_trade_no\",\"parentId\":0,\"require\":false,\"required\":1,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"订单总金额.单位为元，精确到小数点后两位，取值范围：[0.01,100000000] \",\"docId\":649,\"enumId\":0,\"example\":\"9.00\",\"global\":false,\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-26 09:50:23\",\"id\":6481,\"maxLength\":\"-\",\"modifierName\":\"Jim\",\"name\":\"total_amount\",\"parentId\":0,\"require\":false,\"required\":1,\"type\":\"BigDecimal\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"订单标题。注意：不可使用特殊字符，如 /，=，& 等。\",\"docId\":649,\"enumId\":0,\"example\":\"大乐透\",\"global\":false,\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-26 09:50:23\",\"id\":6482,\"maxLength\":\"256\",\"modifierName\":\"Jim\",\"name\":\"subject\",\"parentId\":0,\"require\":false,\"required\":1,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"销售产品码，商家和支付宝签约的产品码。手机网站支付为：QUICK_WAP_WAY\",\"docId\":649,\"enumId\":0,\"example\":\"QUICK_WAP_WAY\",\"global\":false,\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-26 09:50:23\",\"id\":6483,\"maxLength\":\"64\",\"modifierName\":\"Jim\",\"name\":\"product_code\",\"parentId\":0,\"require\":false,\"required\":1,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"针对用户授权接口，获取用户相关数据时，用于标识用户授权关系\",\"docId\":649,\"enumId\":0,\"example\":\"appopenBb64d181d0146481ab6a762c00714cC27\",\"global\":false,\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-26 09:50:23\",\"id\":6484,\"maxLength\":\"40\",\"modifierName\":\"Jim\",\"name\":\"auth_token\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"用户付款中途退出返回商户网站的地址\",\"docId\":649,\"enumId\":0,\"example\":\"http://www.taobao.com/product/113714.html\",\"global\":false,\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-26 09:50:23\",\"id\":6485,\"maxLength\":\"400\",\"modifierName\":\"Jim\",\"name\":\"quit_url\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"String\"},{\"children\":[{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商品的编号\",\"docId\":649,\"enumId\":0,\"example\":\"apple-01\",\"global\":false,\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-26 09:50:23\",\"id\":6487,\"maxLength\":\"64\",\"modifierName\":\"Jim\",\"name\":\"goods_id\",\"parentId\":6486,\"require\":false,\"required\":1,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商品名称\",\"docId\":649,\"enumId\":0,\"example\":\"ipad\",\"global\":false,\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-26 09:50:23\",\"id\":6488,\"maxLength\":\"256\",\"modifierName\":\"Jim\",\"name\":\"goods_name\",\"parentId\":6486,\"require\":false,\"required\":1,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商品数量\",\"docId\":649,\"enumId\":0,\"example\":\"1\",\"global\":false,\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-26 09:50:23\",\"id\":6489,\"maxLength\":\"-\",\"modifierName\":\"Jim\",\"name\":\"quantity\",\"parentId\":6486,\"require\":false,\"required\":1,\"type\":\"Integer\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商品单价，单位为元\",\"docId\":649,\"enumId\":0,\"example\":\"2000\",\"global\":false,\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-26 09:50:23\",\"id\":6490,\"maxLength\":\"-\",\"modifierName\":\"Jim\",\"name\":\"price\",\"parentId\":6486,\"require\":false,\"required\":1,\"type\":\"BigDecimal\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"支付宝定义的统一商品编号\",\"docId\":649,\"enumId\":0,\"example\":\"20010001\",\"global\":false,\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-26 09:50:23\",\"id\":6491,\"maxLength\":\"32\",\"modifierName\":\"Jim\",\"name\":\"alipay_goods_id\",\"parentId\":6486,\"require\":false,\"required\":0,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商品类目\",\"docId\":649,\"enumId\":0,\"example\":\"34543238\",\"global\":false,\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-26 09:50:23\",\"id\":6492,\"maxLength\":\"24\",\"modifierName\":\"Jim\",\"name\":\"goods_category\",\"parentId\":6486,\"require\":false,\"required\":0,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商品类目树，从商品类目根节点到叶子节点的类目id组成，类目id值使用|分割\",\"docId\":649,\"enumId\":0,\"example\":\"124868003|126232002|126252004\",\"global\":false,\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-26 09:50:23\",\"id\":6493,\"maxLength\":\"128\",\"modifierName\":\"Jim\",\"name\":\"categories_tree\",\"parentId\":6486,\"require\":false,\"required\":0,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商品描述信息\",\"docId\":649,\"enumId\":0,\"example\":\"特价手机\",\"global\":false,\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-26 09:50:23\",\"id\":6494,\"maxLength\":\"1000\",\"modifierName\":\"Jim\",\"name\":\"body\",\"parentId\":6486,\"require\":false,\"required\":0,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商品的展示地址\",\"docId\":649,\"enumId\":0,\"example\":\"http://www.alipay.com/xxx.jpg\",\"global\":false,\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-26 09:50:23\",\"id\":6495,\"maxLength\":\"400\",\"modifierName\":\"Jim\",\"name\":\"show_url\",\"parentId\":6486,\"require\":false,\"required\":0,\"type\":\"String\"}],\"creatorName\":\"Jim\",\"description\":\"订单包含的商品列表信息，json格式，其它说明详见商品明细说明\",\"docId\":649,\"enumId\":0,\"example\":\"\",\"global\":false,\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-26 09:50:23\",\"id\":6486,\"maxLength\":\"\",\"modifierName\":\"Jim\",\"name\":\"goods_detail\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"List\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"绝对超时时间，格式为yyyy-MM-dd HH:mm:ss。超时时间范围：1m~15d。\",\"docId\":649,\"enumId\":0,\"example\":\"2016-12-31 10:05:00\",\"global\":false,\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-26 09:50:23\",\"id\":6496,\"maxLength\":\"32\",\"modifierName\":\"Jim\",\"name\":\"time_expire\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商户传入业务信息，具体值要和支付宝约定，应用于安全，营销等参数直传场景，格式为json格式\",\"docId\":649,\"enumId\":0,\"example\":\"{\\\"mc_create_trade_ip\\\":\\\"127.0.0.1\\\"}\",\"global\":false,\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-26 09:50:23\",\"id\":6497,\"maxLength\":\"512\",\"modifierName\":\"Jim\",\"name\":\"business_params\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"公用回传参数，如果请求时传递了该参数，则返回给商户时会回传该参数。支付宝只会在同步返回（包括跳转回商户网站）和异步通知时将该参数原样返回。本参数必须进行UrlEncode之后才可以发送给支付宝。\",\"docId\":649,\"enumId\":0,\"example\":\"merchantBizType%3d3C%26merchantBizNo%3d2016010101111\",\"global\":false,\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-26 09:50:23\",\"id\":6498,\"maxLength\":\"512\",\"modifierName\":\"Jim\",\"name\":\"passback_params\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商户原始订单号，最大长度限制32位\",\"docId\":649,\"enumId\":0,\"example\":\"{\\\"mc_create_trade_ip\\\":\\\"127.0.0.1\\\"}\",\"global\":false,\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-26 09:50:23\",\"id\":6499,\"maxLength\":\"32\",\"modifierName\":\"Jim\",\"name\":\"merchant_order_no\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"String\"}],\"responseParams\":[{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"用于跳转支付宝页面的信息，POST和GET方法生成内容不同：使用POST方法执行，结果为html form表单，在浏览器渲染即可；使用GET方法会得到支付宝URL，需要打开或重定向到该URL。建议使用POST方式。具体使用方法请参考\",\"docId\":649,\"enumId\":0,\"example\":\"请参考响应示例\",\"global\":false,\"gmtCreate\":\"2024-11-26 09:50:23\",\"gmtModified\":\"2024-11-26 09:50:23\",\"id\":6500,\"maxLength\":\"-\",\"modifierName\":\"Jim\",\"name\":\"pageRedirectionData\",\"parentId\":0,\"require\":false,\"required\":1,\"type\":\"String\"}],\"url\":\"alipay.trade.wap.pay\",\"version\":\"2.0\"}', '2024-11-29 22:18:52', '2024-11-29 22:38:17', 1, 1),
                                                                                                                 (2, 14, '{\"children\":[],\"contentType\":\"\",\"description\":\"\",\"docName\":\"支付接口\",\"docTitle\":\"支付接口\",\"errorCodeParams\":[],\"globalHeaders\":[],\"globalParams\":[],\"globalReturns\":[],\"gmtCreate\":\"2024-10-30 09:29:01\",\"gmtModified\":\"2024-11-29 22:33:41\",\"headerParams\":[],\"headerParamsRaw\":[],\"httpMethod\":\"\",\"id\":640,\"isFolder\":1,\"name\":\"支付接口\",\"parentId\":0,\"pathParams\":[],\"queryParams\":[],\"requestParams\":[],\"responseParams\":[],\"url\":\"\",\"version\":\"\"}', '2024-11-29 22:38:17', '2024-11-29 22:38:17', 1, 1),
                                                                                                                 (3, 23, '{\"children\":[],\"contentType\":\"application/json\",\"description\":\"\",\"docName\":\"订单查询接口\",\"docTitle\":\"订单查询接口\",\"errorCodeParams\":[],\"globalHeaders\":[],\"globalParams\":[],\"globalReturns\":[],\"gmtCreate\":\"2024-11-29 22:33:41\",\"gmtModified\":\"2024-11-29 22:52:49\",\"headerParams\":[],\"headerParamsRaw\":[],\"httpMethod\":\"POST\",\"id\":723,\"isFolder\":0,\"name\":\"订单查询接口\",\"parentId\":640,\"pathParams\":[],\"queryParams\":[],\"requestParams\":[{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"订单编号\",\"docId\":723,\"enumId\":0,\"example\":\"xxxx\",\"global\":false,\"gmtCreate\":\"2024-11-29 22:33:41\",\"gmtModified\":\"2024-11-29 22:52:49\",\"id\":6840,\"maxLength\":\"-\",\"modifierName\":\"Jim\",\"name\":\"orderNo\",\"parentId\":0,\"require\":false,\"required\":1,\"type\":\"String\"}],\"responseParams\":[{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"订单编号\",\"docId\":723,\"enumId\":0,\"example\":\"xxxx\",\"global\":false,\"gmtCreate\":\"2024-11-29 22:33:41\",\"gmtModified\":\"2024-11-29 22:52:49\",\"id\":6841,\"maxLength\":\"-\",\"modifierName\":\"Jim\",\"name\":\"orderNo\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"支付编号\",\"docId\":723,\"enumId\":0,\"example\":\"xxxx\",\"global\":false,\"gmtCreate\":\"2024-11-29 22:33:41\",\"gmtModified\":\"2024-11-29 22:52:49\",\"id\":6842,\"maxLength\":\"-\",\"modifierName\":\"Jim\",\"name\":\"payNo\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"支付人id\",\"docId\":723,\"enumId\":0,\"example\":\"111\",\"global\":false,\"gmtCreate\":\"2024-11-29 22:33:41\",\"gmtModified\":\"2024-11-29 22:52:49\",\"id\":6843,\"maxLength\":\"-\",\"modifierName\":\"Jim\",\"name\":\"payUserId\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"Long\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"支付人姓名\",\"docId\":723,\"enumId\":0,\"example\":\"Jim\",\"global\":false,\"gmtCreate\":\"2024-11-29 22:33:41\",\"gmtModified\":\"2024-11-29 22:52:49\",\"id\":6844,\"maxLength\":\"-\",\"modifierName\":\"Jim\",\"name\":\"payUserName\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"String\"}],\"url\":\"pay.order.search\",\"version\":\"1.0\"}', '2024-11-29 22:38:17', '2024-11-29 22:53:22', 1, 1),
                                                                                                                 (4, 24, '{\"children\":[],\"contentType\":\"application/json\",\"description\":\"该接口是页面跳转接口，用于生成用户访问跳转链接。请在服务端执行SDK中pageExecute方法，读取响应中的body()结果。该结果用于跳转到页面，返回到用户浏览器渲染或重定向跳转到页面。具体使用方法请参考 <a href=\\\"https://torna.cn\\\" target=\\\"_blank\\\">接入指南</a>\",\"docName\":\"手机网站支付接口\",\"docTitle\":\"手机网站支付接口\",\"errorCodeParams\":[],\"globalHeaders\":[],\"globalParams\":[],\"globalReturns\":[],\"gmtCreate\":\"2024-11-29 22:33:41\",\"gmtModified\":\"2024-12-02 10:10:27\",\"headerParams\":[],\"headerParamsRaw\":[],\"httpMethod\":\"POST\",\"id\":724,\"isFolder\":0,\"name\":\"手机网站支付接口\",\"parentId\":640,\"pathParams\":[],\"queryParams\":[],\"requestParams\":[{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商户网站唯一订单号\",\"docId\":724,\"enumId\":0,\"example\":\"70501111111S001111119\",\"global\":false,\"gmtCreate\":\"2024-12-02 10:10:27\",\"gmtModified\":\"2024-12-02 10:10:27\",\"id\":6892,\"maxLength\":\"64\",\"modifierName\":\"Jim\",\"name\":\"outTradeNo\",\"parentId\":0,\"require\":false,\"required\":1,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"订单总金额.单位为元，精确到小数点后两位，取值范围：[0.01,100000000] \",\"docId\":724,\"enumId\":0,\"example\":\"9.00\",\"global\":false,\"gmtCreate\":\"2024-12-02 10:10:27\",\"gmtModified\":\"2024-12-02 10:10:27\",\"id\":6893,\"maxLength\":\"-\",\"modifierName\":\"Jim\",\"name\":\"totalAmount\",\"parentId\":0,\"require\":false,\"required\":1,\"type\":\"BigDecimal\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"订单标题。注意：不可使用特殊字符，如 /，=，& 等。\",\"docId\":724,\"enumId\":0,\"example\":\"大乐透\",\"global\":false,\"gmtCreate\":\"2024-11-29 22:33:41\",\"gmtModified\":\"2024-12-02 10:10:27\",\"id\":6847,\"maxLength\":\"256\",\"modifierName\":\"Jim\",\"name\":\"subject\",\"parentId\":0,\"require\":false,\"required\":1,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"销售产品码，商家和支付平台签约的产品码。手机网站支付为：QUICK_WAP_WAY\",\"docId\":724,\"enumId\":0,\"example\":\"QUICK_WAP_WAY\",\"global\":false,\"gmtCreate\":\"2024-12-02 10:10:27\",\"gmtModified\":\"2024-12-02 10:10:27\",\"id\":6895,\"maxLength\":\"64\",\"modifierName\":\"Jim\",\"name\":\"productCode\",\"parentId\":0,\"require\":false,\"required\":1,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"针对用户授权接口，获取用户相关数据时，用于标识用户授权关系\",\"docId\":724,\"enumId\":0,\"example\":\"appopenBb64d181d0146481ab6a762c00714cC27\",\"global\":false,\"gmtCreate\":\"2024-12-02 10:10:27\",\"gmtModified\":\"2024-12-02 10:10:27\",\"id\":6896,\"maxLength\":\"40\",\"modifierName\":\"Jim\",\"name\":\"authToken\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"用户付款中途退出返回商户网站的地址\",\"docId\":724,\"enumId\":0,\"example\":\"http://www.taobao.com/product/113714.html\",\"global\":false,\"gmtCreate\":\"2024-11-29 22:33:41\",\"gmtModified\":\"2024-12-02 10:10:27\",\"id\":6850,\"maxLength\":\"400\",\"modifierName\":\"Jim\",\"name\":\"quit_url\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"String\"},{\"children\":[{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商品的编号\",\"docId\":724,\"enumId\":0,\"example\":\"apple-01\",\"global\":false,\"gmtCreate\":\"2024-12-02 10:10:27\",\"gmtModified\":\"2024-12-02 10:10:27\",\"id\":6899,\"maxLength\":\"64\",\"modifierName\":\"Jim\",\"name\":\"goodsId\",\"parentId\":6898,\"require\":false,\"required\":1,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商品名称\",\"docId\":724,\"enumId\":0,\"example\":\"ipad\",\"global\":false,\"gmtCreate\":\"2024-12-02 10:10:27\",\"gmtModified\":\"2024-12-02 10:10:27\",\"id\":6900,\"maxLength\":\"256\",\"modifierName\":\"Jim\",\"name\":\"goodsName\",\"parentId\":6898,\"require\":false,\"required\":1,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商品数量\",\"docId\":724,\"enumId\":0,\"example\":\"1\",\"global\":false,\"gmtCreate\":\"2024-12-02 10:10:27\",\"gmtModified\":\"2024-12-02 10:10:27\",\"id\":6901,\"maxLength\":\"-\",\"modifierName\":\"Jim\",\"name\":\"quantity\",\"parentId\":6898,\"require\":false,\"required\":1,\"type\":\"Integer\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商品单价，单位为元\",\"docId\":724,\"enumId\":0,\"example\":\"2000\",\"global\":false,\"gmtCreate\":\"2024-12-02 10:10:27\",\"gmtModified\":\"2024-12-02 10:10:27\",\"id\":6902,\"maxLength\":\"-\",\"modifierName\":\"Jim\",\"name\":\"price\",\"parentId\":6898,\"require\":false,\"required\":1,\"type\":\"BigDecimal\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"支付平台定义的统一商品编号\",\"docId\":724,\"enumId\":0,\"example\":\"20010001\",\"global\":false,\"gmtCreate\":\"2024-12-02 10:10:27\",\"gmtModified\":\"2024-12-02 10:10:27\",\"id\":6903,\"maxLength\":\"32\",\"modifierName\":\"Jim\",\"name\":\"alipayGoodsId\",\"parentId\":6898,\"require\":false,\"required\":0,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商品类目\",\"docId\":724,\"enumId\":0,\"example\":\"34543238\",\"global\":false,\"gmtCreate\":\"2024-12-02 10:10:27\",\"gmtModified\":\"2024-12-02 10:10:27\",\"id\":6904,\"maxLength\":\"24\",\"modifierName\":\"Jim\",\"name\":\"goodsCategory\",\"parentId\":6898,\"require\":false,\"required\":0,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商品类目树，从商品类目根节点到叶子节点的类目id组成，类目id值使用|分割\",\"docId\":724,\"enumId\":0,\"example\":\"124868003|126232002|126252004\",\"global\":false,\"gmtCreate\":\"2024-12-02 10:10:27\",\"gmtModified\":\"2024-12-02 10:10:27\",\"id\":6905,\"maxLength\":\"128\",\"modifierName\":\"Jim\",\"name\":\"categoriesTree\",\"parentId\":6898,\"require\":false,\"required\":0,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商品描述信息\",\"docId\":724,\"enumId\":0,\"example\":\"特价手机\",\"global\":false,\"gmtCreate\":\"2024-12-02 10:10:27\",\"gmtModified\":\"2024-12-02 10:10:27\",\"id\":6906,\"maxLength\":\"1000\",\"modifierName\":\"Jim\",\"name\":\"body\",\"parentId\":6898,\"require\":false,\"required\":0,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商品的展示地址\",\"docId\":724,\"enumId\":0,\"example\":\"http://www.alipay.com/xxx.jpg\",\"global\":false,\"gmtCreate\":\"2024-12-02 10:10:27\",\"gmtModified\":\"2024-12-02 10:10:27\",\"id\":6907,\"maxLength\":\"400\",\"modifierName\":\"Jim\",\"name\":\"showUrl\",\"parentId\":6898,\"require\":false,\"required\":0,\"type\":\"String\"}],\"creatorName\":\"Jim\",\"description\":\"订单包含的商品列表信息，json格式，其它说明详见商品明细说明\",\"docId\":724,\"enumId\":0,\"example\":\"\",\"global\":false,\"gmtCreate\":\"2024-12-02 10:10:27\",\"gmtModified\":\"2024-12-02 10:10:27\",\"id\":6898,\"maxLength\":\"\",\"modifierName\":\"Jim\",\"name\":\"goodsDetail\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"List\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"绝对超时时间，格式为yyyy-MM-dd HH:mm:ss。超时时间范围：1m~15d。\",\"docId\":724,\"enumId\":0,\"example\":\"2016-12-31 10:05:00\",\"global\":false,\"gmtCreate\":\"2024-12-02 10:10:27\",\"gmtModified\":\"2024-12-02 10:10:27\",\"id\":6908,\"maxLength\":\"32\",\"modifierName\":\"Jim\",\"name\":\"timeExpire\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商户传入业务信息，具体值要和支付平台约定，应用于安全，营销等参数直传场景，格式为json格式\",\"docId\":724,\"enumId\":0,\"example\":\"{\\\"mc_create_trade_ip\\\":\\\"127.0.0.1\\\"}\",\"global\":false,\"gmtCreate\":\"2024-12-02 10:10:27\",\"gmtModified\":\"2024-12-02 10:10:27\",\"id\":6909,\"maxLength\":\"512\",\"modifierName\":\"Jim\",\"name\":\"businessParams\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"公用回传参数，如果请求时传递了该参数，则返回给商户时会回传该参数。支付平台只会在同步返回（包括跳转回商户网站）和异步通知时将该参数原样返回。本参数必须进行UrlEncode之后才可以发送给支付平台。\",\"docId\":724,\"enumId\":0,\"example\":\"merchantBizType%3d3C%26merchantBizNo%3d2016010101111\",\"global\":false,\"gmtCreate\":\"2024-12-02 10:10:27\",\"gmtModified\":\"2024-12-02 10:10:27\",\"id\":6910,\"maxLength\":\"512\",\"modifierName\":\"Jim\",\"name\":\"passbackParams\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"商户原始订单号，最大长度限制32位\",\"docId\":724,\"enumId\":0,\"example\":\"{\\\"mc_create_trade_ip\\\":\\\"127.0.0.1\\\"}\",\"global\":false,\"gmtCreate\":\"2024-12-02 10:10:27\",\"gmtModified\":\"2024-12-02 10:10:27\",\"id\":6911,\"maxLength\":\"32\",\"modifierName\":\"Jim\",\"name\":\"merchantOrderNo\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"String\"}],\"responseParams\":[{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"用于跳转支付平台页面的信息，POST和GET方法生成内容不同：使用POST方法执行，结果为html form表单，在浏览器渲染即可；使用GET方法会得到支付平台URL，需要打开或重定向到该URL。建议使用POST方式。具体使用方法请参考\",\"docId\":724,\"enumId\":0,\"example\":\"请参考响应示例\",\"global\":false,\"gmtCreate\":\"2024-11-29 22:33:41\",\"gmtModified\":\"2024-12-02 10:10:27\",\"id\":6865,\"maxLength\":\"-\",\"modifierName\":\"Jim\",\"name\":\"pageRedirectionData\",\"parentId\":0,\"require\":false,\"required\":1,\"type\":\"String\"}],\"url\":\"pay.trade.wap.pay\",\"version\":\"1.0\"}', '2024-11-29 22:38:17', '2024-12-02 10:11:31', 1, 1),
                                                                                                                 (5, 3, '{\"children\":[],\"contentType\":\"application/json\",\"description\":\"根据表单内容新建地址\",\"docName\":\"添加地址\",\"docTitle\":\"添加地址\",\"errorCodeParams\":[],\"globalHeaders\":[],\"globalParams\":[],\"globalReturns\":[],\"gmtCreate\":\"2024-09-02 10:05:38\",\"gmtModified\":\"2024-11-14 11:08:40\",\"headerParams\":[],\"headerParamsRaw\":[],\"httpMethod\":\"POST\",\"id\":229,\"isFolder\":0,\"name\":\"添加地址\",\"parentId\":228,\"pathParams\":[],\"queryParams\":[],\"requestParams\":[{\"children\":[],\"creatorName\":\"thc\",\"description\":\"详细地址\",\"docId\":229,\"enumId\":0,\"example\":\"xxx省xx市\",\"global\":false,\"gmtCreate\":\"2024-09-02 10:05:38\",\"gmtModified\":\"2024-11-14 11:08:40\",\"id\":1406,\"maxLength\":\"-\",\"modifierName\":\"thc\",\"name\":\"address\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"string\"},{\"children\":[],\"creatorName\":\"thc\",\"description\":\"行政编码\",\"docId\":229,\"enumId\":0,\"example\":\"330104\",\"global\":false,\"gmtCreate\":\"2024-09-02 10:05:38\",\"gmtModified\":\"2024-11-14 11:08:40\",\"id\":1407,\"maxLength\":\"-\",\"modifierName\":\"thc\",\"name\":\"areaCode\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"string\"}],\"responseParams\":[{\"children\":[],\"creatorName\":\"thc\",\"description\":\"状态码<br><br>200:成功<br>400:未知失败<br>400xxxx:明确的失败\",\"docId\":229,\"enumId\":0,\"example\":\"0\",\"global\":false,\"gmtCreate\":\"2024-09-02 10:05:38\",\"gmtModified\":\"2024-11-14 11:08:40\",\"id\":1408,\"maxLength\":\"-\",\"modifierName\":\"thc\",\"name\":\"code\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"int32\"},{\"children\":[],\"creatorName\":\"thc\",\"description\":\"状态描述\",\"docId\":229,\"enumId\":0,\"example\":\"\",\"global\":false,\"gmtCreate\":\"2024-09-02 10:05:38\",\"gmtModified\":\"2024-11-14 11:08:40\",\"id\":1409,\"maxLength\":\"-\",\"modifierName\":\"thc\",\"name\":\"description\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"string\"},{\"children\":[],\"creatorName\":\"thc\",\"description\":\"数据\",\"docId\":229,\"enumId\":0,\"example\":\"\",\"global\":false,\"gmtCreate\":\"2024-09-02 10:05:38\",\"gmtModified\":\"2024-11-14 11:08:40\",\"id\":1410,\"maxLength\":\"-\",\"modifierName\":\"thc\",\"name\":\"data\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"int64\"}],\"url\":\"/address/add\",\"version\":\"\"}', '2024-11-30 23:02:26', '2024-11-30 23:02:26', 1, 1),
                                                                                                                 (6, 25, '{\"children\":[],\"contentType\":\"\",\"description\":\"\",\"docName\":\"故事服务\",\"docTitle\":\"故事服务\",\"errorCodeParams\":[],\"globalHeaders\":[],\"globalParams\":[],\"globalReturns\":[],\"gmtCreate\":\"2024-12-21 15:11:33\",\"gmtModified\":\"2024-12-21 15:11:33\",\"headerParams\":[],\"headerParamsRaw\":[],\"httpMethod\":\"\",\"id\":796,\"isFolder\":1,\"name\":\"故事服务\",\"parentId\":0,\"pathParams\":[],\"queryParams\":[],\"requestParams\":[],\"responseParams\":[],\"url\":\"\",\"version\":\"\"}', '2024-12-21 15:11:55', '2024-12-21 15:11:55', 1, 1),
                                                                                                                 (7, 26, '{\"children\":[],\"contentType\":\"application/json\",\"description\":\"\",\"docName\":\"根据id获取故事\",\"docTitle\":\"根据id获取故事\",\"errorCodeParams\":[],\"globalHeaders\":[],\"globalParams\":[],\"globalReturns\":[],\"gmtCreate\":\"2024-12-21 15:11:34\",\"gmtModified\":\"2024-12-21 15:11:34\",\"headerParams\":[],\"headerParamsRaw\":[],\"httpMethod\":\"POST\",\"id\":797,\"isFolder\":0,\"name\":\"根据id获取故事\",\"parentId\":796,\"pathParams\":[],\"queryParams\":[],\"requestParams\":[],\"responseParams\":[{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"\",\"docId\":797,\"enumId\":0,\"example\":\"\",\"global\":false,\"gmtCreate\":\"2024-12-21 15:11:34\",\"gmtModified\":\"2024-12-21 15:11:34\",\"id\":7248,\"maxLength\":\"-\",\"modifierName\":\"Jim\",\"name\":\"id\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"Integer\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"\",\"docId\":797,\"enumId\":0,\"example\":\"\",\"global\":false,\"gmtCreate\":\"2024-12-21 15:11:34\",\"gmtModified\":\"2024-12-21 15:11:34\",\"id\":7249,\"maxLength\":\"-\",\"modifierName\":\"Jim\",\"name\":\"name\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"String\"},{\"children\":[],\"creatorName\":\"Jim\",\"description\":\"\",\"docId\":797,\"enumId\":0,\"example\":\"\",\"global\":false,\"gmtCreate\":\"2024-12-21 15:11:34\",\"gmtModified\":\"2024-12-21 15:11:34\",\"id\":7250,\"maxLength\":\"-\",\"modifierName\":\"Jim\",\"name\":\"addTime\",\"parentId\":0,\"require\":false,\"required\":0,\"type\":\"Date\"}],\"url\":\"product.get\",\"version\":\"1.0\"}', '2024-12-21 15:11:55', '2024-12-21 15:11:55', 1, 1);

INSERT INTO `doc_info` (`id`, `doc_app_id`, `doc_title`, `doc_id`, `doc_code`, `doc_type`, `source_type`, `doc_version`, `doc_name`, `description`, `is_folder`, `is_publish`, `parent_id`, `add_time`, `update_time`, `add_by`, `update_by`) VALUES
                                                                                                                                                                                                                                                  (14, 3, '支付接口', 640, '', 1, 1, '', '支付接口', '', 1, 1, 0, '2024-11-26 22:17:12', '2024-11-29 22:38:17', 0, 1),
                                                                                                                                                                                                                                                  (15, 3, '手机网站支付接口2.0', 649, '', 1, 1, '2.0', 'alipay.trade.wap.pay', '该接口是页面跳转接口，用于生成用户访问支付宝的跳转链接。请在服务端执行支付宝SDK中pageExecute方法，读取响应中的body()结果。该结果用于跳转到支付宝页面，返回到用户浏览器渲染或重定向跳转到支付宝页面。具体使用方法请参考 <a href=\"https://torna.cn\" target=\"_blank\">接入指南</a>', 0, 0, 640, '2024-11-26 22:17:12', '2024-11-29 22:49:04', 0, 1),
                                                                                                                                                                                                                                                  (23, 3, '订单查询接口', 723, '', 1, 1, '1.0', 'pay.order.search', '', 0, 1, 640, '2024-11-29 22:38:16', '2024-11-29 22:53:22', 0, 1),
                                                                                                                                                                                                                                                  (24, 3, '手机网站支付接口', 724, '', 1, 1, '1.0', 'pay.trade.wap.pay', '该接口是页面跳转接口，用于生成用户访问跳转链接。请在服务端执行SDK中pageExecute方法，读取响应中的body()结果。该结果用于跳转到页面，返回到用户浏览器渲染或重定向跳转到页面。具体使用方法请参考 <a href=\"https://torna.cn\" target=\"_blank\">接入指南</a>', 0, 1, 640, '2024-11-29 22:38:16', '2024-12-02 10:11:31', 0, 1),
                                                                                                                                                                                                                                                  (25, 4, '故事服务', 796, '', 1, 1, '', '故事服务', '', 1, 1, 0, '2024-12-21 15:11:54', '2024-12-21 15:11:54', 1, 0),
                                                                                                                                                                                                                                                  (26, 4, '根据id获取故事', 797, '', 1, 1, '1.0', 'product.get', '', 0, 0, 796, '2024-12-21 15:11:54', '2024-12-21 15:11:54', 1, 0);

INSERT INTO `isv_info` (`id`, `app_id`, `status`, `remark`, `add_time`, `update_time`, `add_by`, `update_by`) VALUES
                                                                                                                  (1, '2019032617262200001', 1, 'xx', '2024-09-10 09:23:43', '2024-12-22 07:35:52', 0, 1),
                                                                                                                  (2, '224', 1, '334', '2024-10-10 10:48:40', '2024-10-10 10:50:39', 0, 0),
                                                                                                                  (3, '202410111294229455501262848', 1, '杭州限行公司', '2024-10-11 09:17:28', '2024-12-21 14:14:46', 0, 1),
                                                                                                                  (4, '202410191297295138816524288', 1, 'xx公司', '2024-10-19 20:19:24', '2024-12-20 19:49:07', 0, 0),
                                                                                                                  (5, '202412201319756154208780288', 1, '非Java', '2024-12-20 19:51:27', '2024-12-21 14:24:44', 1, 1);

INSERT INTO `isv_keys` (`id`, `isv_id`, `key_format`, `public_key_isv`, `private_key_isv`, `public_key_platform`, `private_key_platform`, `add_time`, `update_time`, `add_by`, `update_by`) VALUES
                                                                                                                                                                                                (16, 1, 1, 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlyb9aUBaljQP/vjmBFe1mF8HsWSvyfC2NTlpT/V9E+sBxTr8TSkbzJCeeeOEm4LCaVXL0Qz63MZoT24v7AIXTuMdj4jyiM/WJ4tjrWAgnmohNOegfntTto16C3l234vXz4ryWZMR/7W+MXy5B92wPGQEJ0LKFwNEoLspDEWZ7RdE53VH7w6y6sIZUfK+YkXWSwehfKPKlx+lDw3zRJ3/yvMF+U+BAdW/MfECe1GuBnCFKnlMRh3UKczWyXWkL6ItOpYHHJi/jx85op5BWDje2pY9QowzfN94+0DB3T7UvZeweu3zlP6diwAJDzLaFQX8ULfWhY+wfKxIRgs9NoiSAQIDAQAB', 'MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCXJv1pQFqWNA/++OYEV7WYXwexZK/J8LY1OWlP9X0T6wHFOvxNKRvMkJ5544SbgsJp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pmx0iFCyN/if9hNr3SnAgbeec6G8yhFqDNXs3YIMKJLVV4asqRzhZ7RahJCYgR6KqhoGzKQKLhZith0fhQ+t/vPHaNrhs1L9fhjNJ8ms9yQlkPkCgYB47O9GeSoaHsYhlcoBmU8IKNI6xJ80DYYjn6rTiCocd6dkiurrPb7JhkRCjX3gvh4u/EEJwRdvtfp8FKsun19Y4vKUy2dU1eCrBy/77ajTI2Q6Zf3+k4Pvge836s7K9acdUQP5WAIi7RqTaQRKEOcCDjzxU0sA8E4S6ySbQbIQPw==', '2024-09-10 09:26:33', '2024-12-21 14:25:55', 0, 1),
                                                                                                                                                                                                (17, 3, 1, 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsfBau9tAD3EL0FCQvIb8HDhn/rOrorQq41Kp4iMMtbrLykOTOEzqQk5ZG0Za85f9Qb7jXDXl6ZThE+qgDGKlrGH4JedWwOAmqKoJSTSktcCovn8Q+p9ykA2WTVnbM5ByDyFy9npbmUKd1LjK2BZY7ocyoVjsOA+Z6ESV3tw/EKrOpD9E6bMshaY6VmfvZv3JcplZenL5Lvtnuwjb88qkgGZ1LyoS4kXVZll7+b8qLI/BjGEqpKLopb2AOsFTSxk8ulU5bCCfvdzJnf4mvhx7w4ghiXR1F2TyG9cELaG2z49L0aYU9G1yYQUz1b6ImJUeUVxrxB5ok8jPZpj5BbVjkwIDAQAB', 'MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCx8Fq720APcQvQUJC8hvwcOGf+s6uitCrjUqniIwy1usvKQ5M4TOpCTlkbRlrzl/1BvuNcNeXplOET6qAMYqWsYfgl51bA4CaoqglJNKS1wKi+fxD6n3KQDZZNWdszkHIPIXL2eluZQp3UuMrYFljuhzKhWOw4D5noRJXe3D8Qqs6kP0TpsyyFpjpWZ+9m/clymVl6cvku+2e7CNvzyqSAZnUvKhLiRdVmWXv5vyosj8GMYSqkouilvYA6wVNLGTy6VTlsIJ+93Mmd/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wS7wYG2C4lZ+5a4L1raCMRj3OKAORhylE+sYy2ZVaTzyFJ0HandQkCgYAPWXFqwocIpHOVz12bz2VKxEx8qHpyIPyD1xjE3qt7y3cMgEBqBAxcMl7Tws+rVLfqo4NJnEjqD/cl2Z6JLF+Je/6QC3M2YmYQm6alq8JLGIszWsreSbyPBoVXX0qoIzAy3+g+RpdP4zZUHaHDj6m+5RZhDlcjlHLRbXk4nU1vvw==', '', '', '2024-10-11 09:17:28', '2024-10-11 09:17:28', 0, 0),
                                                                                                                                                                                                (18, 2, 1, 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA76s+LkIGqSEUrUJKud0/KhCq/6ZqAannhAMl6kPolt7mp3ojf9Chiixg4eigOM3iz3leEK1gq27Aich1cituK4kK4aj2brifual+ssFW95tAPoZS5qn3ueXyib7Zze5LT6Xo7WrUqkc1k1aBisb2ELANTb2H2F0ODWeUNv8cKsDheVist9zn6H9yqP9KOaT5GjD9bwx+YVLZvyeFRmkDwhLTkHq/1aumVMFhTMFtGSJxnFelhdUblQMfrQ0Meum4XnWnAEOv2befVTQ65PgmklgOVdMvMgn2B5hMob+XDJ67R2eq3QK+1sN/R4bgD20MQkY/Tyv/onN34GPOkjEvFwIDAQAB', 'MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDvqz4uQgapIRStQkq53T8qEKr/pmoBqeeEAyXqQ+iW3uaneiN/0KGKLGDh6KA4zeLPeV4QrWCrbsCJyHVyK24riQrhqPZuuJ+5qX6ywVb3m0A+hlLmqfe55fKJvtnN7ktPpejtatSqRzWTVoGKxvYQsA1NvYfYXQ4NZ5Q2/xwqwOF5WKy33Ofof3Ko/0o5pPkaMP1vDH5hUtm/J4VGaQPCEtOQer/Vq6ZUwWFMwW0ZInGcV6WF1RuVAx+tDQx66bhedacAQ6/Zt59VNDrk+CaSWA5V0y8yCfYHmEyhv5cMnrtHZ6rdAr7Ww39HhuAPbQxCRj9PK/+ic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BKp0Dsk+gN6qKyLTbqKcwai/qcIVMqbDHzA=', '2024-10-19 20:08:11', '2024-10-19 20:08:11', 0, 0),
                                                                                                                                                                                                (19, 4, 1, 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkx/cQcwVi2WQM40tzYHi9vxhXlVPyZYCO2Hk9lpnxM2vKjmBx0gCZPa1lygO7ncmztdTI7bit2nArOAkn0bniK2ZK5lCSYWeZ9hiHRf07rkF2alOgLnpQQpqi/XhMwHtG5m6jXEgv89h9YtZGcM/Unzp3yz8O1Hm7UenB6TdXu1+XDVG3WWXrnOEh0o4oR2jTrG+sIZ9nOM29NNhpeM3gPX9lnpDn2fSSqBJn1R0YyUxM5HCGORYB4mJdCUVvCxR4vvSHeV1cxGUFdjfjd8fJc0TUZ0beHAeDNWzWXirKP6N2VRHJ1sWe1Qe63xtqJNAIOWy2MLZVXT/bcAho7PcHQIDAQAB', 'MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCTH9xBzBWLZZAzjS3NgeL2/GFeVU/JlgI7YeT2WmfEza8qOYHHSAJk9rWXKA7udybO11MjtuK3acCs4CSfRueIrZkrmUJJhZ5n2GIdF/TuuQXZqU6AuelBCmqL9eEzAe0bmbqNcSC/z2H1i1kZwz9SfOnfLPw7UebtR6cHpN1e7X5cNUbdZZeuc4SHSjihHaNOsb6whn2c4zb002Gl4zeA9f2WekOfZ9JKoEmfVHRjJTEzkcIY5FgHiYl0JRW8LFHi+9Id5XVzEZQV2N+N3x8lzRNRnRt4cB4M1bNZeKso/o3ZVEcnWxZ7VB7rfG2ok0Ag5bLYwtlVdP9twCGjs9wdAgMBAAECggEAZyx1orLC/RGJUY2U7ERE7R3KDoRXQq/u+sPI9DYsBSiUyVCwwRavjywv5kPSTMrELVN1W1tanHMOCm3ZYNUxc3kCLD/662JH1t042Nw/CNY50w1XHxDBEbqDQ4l3lvSn2a4x1BTceYauVKqXHmj81BUDUV3TuKnT/tw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V+BeC/WFkWl9bypR6k6XYuwr9RhYAQKBgQDRzkYlCmxzF40pYu6eZ0p/+MtbHbWk32ntkrvrEzPQf9MCYaP7mJO3vTDVh3tSxb6xRf6zxsZOfE0ONZb3OCdftbnV0WJPxDAxy4azmo2g8U86dQqVLDzhdD3E20FBAKtV99UmR2hzDlMyZ8XlAjbhOFaspWyLg1GeL1nqipfubwKBgQC8GFbdsiS0vR3ilFWP9y0HljHDDGwSSmK/V8kEZASHVBfYb+0GXntAK2XEfOJeCf4+VHbzPA4sfqWVQaZ5zdcOowJRks2iq3VgxODW5rqRCty/RsQk1nBQjDhrt7+X4j1odUM1p6q4I39MBAFrZ+1yp6JOXBNnE/Hktw9nDiRIgQKBgFZcw5EBvmyN2ESd/b1kpU0SO5sxGpFYicEKcqIsUFrWEyTazmaFguDSVuS+lSwYTAuq1VJpUz4BerKLqq3vBn4mTu3N99r/1hrZPYR27S+/xS45+XY4NINVlwuOeUjpnp2Pm8TbBgq+bc7E2rgO9ko1J7B/k7PGBXXI5glerXWvAoGASpQX9SUKGsOVUt5fooptx0FND7ogK4xk5Nsor938UbANGFsgjtLtaX8LhcHCe2jY7tvMohqgwBGjE7AJEuiDqaEGbVOYxzPWgXzubSbkuFenOQwU/0orFDTUthkQFWe103ITKPYG4aXpdjlsWqrFYh2HZCxr4QXudjIDIGhiCIECgYBrtOreWKycQGNpAAkb6AXiDi1pyUFoOfscc0eCDea/AnuEVlvBhiYygGlcHd/InEUzjWmKzXwfKfIo/dmwH23maxInYc6iXms0hs4UuVMw+UsydhiV59TVtGy+urC+j2bQDgBo0cGw5SUprN16kQyTGLSIfCEvXZ0SI+f6VkNS3Q==', '2024-10-19 20:23:38', '2024-10-19 20:23:38', 0, 0),
                                                                                                                                                                                                (20, 5, 2, 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuepmAe0+vzqPjxGWDJcOSFIfkpYzbyOk34a2wDXgplZDVpxdJOcSxj7qgdHrMNIlLoiUzz2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T3YAKYaPbj7oWkFsJ5ZZS2j9Pr6aQ7fM8wR7xv9AteVyVnHqgovWT/lta6ysGObd0DS+jxRIhPqwu1G7zOLngDZwmF1ziU6MGe9tfvywzZj+tf8etI4I/dRuIpzGWlJ56QKBgQD3KT2ff4J+1HK0FUPj2wKEDMnoks4Lemd4m0fTtuANG6kvOi4emWIuPws/UrGbHQoMhFYH1JCosCRl5tAfQYzvWKOBDdEd/0qYBR5VJxexvAYLwZy6xKWfNnDhLGH2S0WTaFCM6zxZXlN0P4BckkvWrINfXA2ODVNvgM86E/s+iQKBgHF3ry38Kxs+fp2KtDj5+1wiHhqK5b67jNkwT7R5e7nhHD2tJmG8/yoDRc1jx0KCIYf3PYQFs/TVAwDMBHcEwW7P/IdvmyFHdTO6irIP59no3NdHlRdieAZoAunZtUPn2WGvSDTE2ApCMWu6IbfZfpr/nSahL9e/nIxbDZEa2SNBAoGAfEzNf+0GjCViJw/Z4YFlBollTV+p5h0SW9OlUYWX7JwgPjNc5+uAm+QpWLFi4hmixiNIjpO0ICTn86/ImZfb0S/sk5fzB+SJBalrJUb/V71kX6Nxoh33629Lj4U854kEepiGYkA0ZL1jcxklDb++BDj/ctgawIU3qgx6fB2yLug=', '2024-12-21 14:24:55', '2024-12-21 19:44:54', 1, 1);

INSERT INTO `perm_group` (`id`, `group_name`, `is_deleted`, `add_time`, `update_time`, `add_by`, `update_by`) VALUES
                                                                                                                  (1, 'VIP', 0, '2024-10-20 16:23:31', '2024-10-23 10:37:56', 0, 0),
                                                                                                                  (2, 'VIP2', 1, '2024-10-20 16:25:11', '2024-10-21 14:13:41', 0, 0),
                                                                                                                  (3, 'VIP2', 0, '2024-11-13 10:36:12', '2024-11-13 10:36:12', 1, 1);

INSERT INTO `perm_group_permission` (`id`, `group_id`, `api_id`, `add_time`, `update_time`, `add_by`, `update_by`) VALUES
    (15, 1, 10, '2024-12-22 07:40:02', '2024-12-22 07:40:02', 0, 0);

INSERT INTO `perm_isv_group` (`id`, `isv_id`, `group_id`, `add_time`, `update_time`, `add_by`, `update_by`) VALUES
                                                                                                                (8, 4, 1, '2024-10-21 14:10:18', '2024-10-21 14:10:18', 0, 0),
                                                                                                                (9, 3, 1, '2024-10-25 20:20:16', '2024-10-25 20:20:16', 0, 0),
                                                                                                                (11, 2, 1, '2024-10-25 20:25:41', '2024-10-25 20:25:41', 0, 0),
                                                                                                                (12, 1, 1, '2024-12-22 07:40:38', '2024-12-22 07:40:38', 0, 0);


INSERT INTO `sys_config` (`id`, `config_key`, `config_value`, `remark`, `is_deleted`, `add_time`, `update_time`, `add_by`, `update_by`) VALUES
                                                                                                                                            (3, 'admin.torna-url', '2', 'Torna服务器地址', 0, '2024-11-19 22:21:07', '2024-11-19 22:25:22', 1, 1),
                                                                                                                                            (4, 'admin.open-prod-url', 'https://open.xxx.com/api', '开放平台线上地址', 0, '2024-11-19 22:21:07', '2024-12-21 14:37:31', 1, 1),
                                                                                                                                            (5, 'admin.open-sandbox-url', 'https://open-sandbox.xxx.com/api', '开放平台沙箱地址', 0, '2024-11-19 22:21:07', '2024-12-21 14:37:32', 1, 1),
                                                                                                                                            (6, 'admin.torna-server-addr', 'http://localhost:7700', 'Torna服务器地址', 0, '2024-11-20 09:37:47', '2024-12-21 14:37:31', 1, 1);

INSERT INTO `sys_dept` (`id`, `name`, `sort`, `status`, `remark`, `parent_id`, `add_time`, `update_time`, `add_by`, `update_by`) VALUES
                                                                                                                                     (1, 'XX公司', 0, 1, '', 0, '2024-12-06 19:19:34', '2024-12-12 14:40:17', 1, 1),
                                                                                                                                     (2, 'IT部', 0, 1, 'IT', 1, '2024-12-06 19:26:18', '2024-12-12 14:40:17', 1, 1),
                                                                                                                                     (3, '财务部', 0, 1, '', 1, '2024-12-06 19:36:00', '2024-12-12 12:28:13', 1, 1);

INSERT INTO `sys_resource` (`id`, `menu_type`, `title`, `name`, `path`, `component`, `rank`, `redirect`, `icon`, `extra_icon`, `enter_transition`, `leave_transition`, `active_path`, `auths`, `frame_src`, `frame_loading`, `keep_alive`, `hidden_tag`, `fixed_tag`, `show_link`, `show_parent`, `parent_id`, `is_deleted`, `add_time`, `update_time`, `add_by`, `update_by`) VALUES
                                                                                                                                                                                                                                                                                                                                                                                   (1, 0, '服务管理', 'ServeMgr', '/serve', NULL, 99, NULL, 'ep:files', NULL, NULL, NULL, NULL, '', NULL, 0, 0, 0, 0, 1, 1, 0, 0, '2024-12-10 22:16:29', '2024-12-18 10:39:22', 1, 1),
                                                                                                                                                                                                                                                                                                                                                                                   (2, 0, '接口管理', 'ServeApi', '/serve/api', NULL, 99, NULL, 'ep:box', NULL, NULL, NULL, NULL, '', NULL, 0, 0, 0, 0, 1, 1, 1, 0, '2024-12-10 22:17:22', '2024-12-18 10:39:22', 1, 1),
                                                                                                                                                                                                                                                                                                                                                                                   (3, 0, '文档管理', 'DocMgr', '/doc', NULL, 99, NULL, 'ep:copy-document', NULL, NULL, NULL, NULL, '', NULL, 0, 0, 0, 0, 1, 1, 0, 0, '2024-12-17 09:08:44', '2024-12-18 10:39:22', 1, 1),
                                                                                                                                                                                                                                                                                                                                                                                   (4, 0, '基础配置', 'DocSetting', '/doc/setting', NULL, 99, NULL, 'ep:setting', NULL, NULL, NULL, NULL, '', NULL, 0, 0, 0, 0, 1, 1, 3, 0, '2024-12-17 09:09:21', '2024-12-18 10:39:22', 1, 1),
                                                                                                                                                                                                                                                                                                                                                                                   (5, 0, '文档列表', 'DocList', '/doc/list', NULL, 99, NULL, 'ep:document-copy', NULL, NULL, NULL, NULL, '', NULL, 0, 0, 0, 0, 1, 1, 3, 0, '2024-12-17 09:10:12', '2024-12-18 10:39:22', 1, 1),
                                                                                                                                                                                                                                                                                                                                                                                   (6, 0, 'ISV管理', 'IsvMgr', '/isv', NULL, 99, NULL, 'ep:avatar', NULL, NULL, NULL, NULL, '', NULL, 0, 0, 0, 0, 1, 1, 0, 0, '2024-12-17 09:10:47', '2024-12-18 10:39:22', 1, 1),
                                                                                                                                                                                                                                                                                                                                                                                   (7, 0, 'ISV列表', 'IsvList', '/isv/list', NULL, 99, NULL, 'ep:user', NULL, NULL, NULL, NULL, '', NULL, 0, 0, 0, 0, 1, 1, 6, 0, '2024-12-17 09:11:19', '2024-12-18 10:39:22', 1, 1),
                                                                                                                                                                                                                                                                                                                                                                                   (8, 0, '分组管理', 'IsvPermPermGroup', '/isv/perm/permGroup', NULL, 99, NULL, 'ri:layout-grid-line', NULL, NULL, NULL, NULL, '', NULL, 0, 0, 0, 0, 1, 1, 6, 0, '2024-12-17 09:12:24', '2024-12-18 10:39:22', 1, 1),
                                                                                                                                                                                                                                                                                                                                                                                   (9, 0, '系统管理', 'PureSystem', '/system', NULL, 99, NULL, 'ri:settings-3-line', NULL, NULL, NULL, NULL, '', NULL, 0, 0, 0, 0, 1, 1, 0, 0, '2024-12-17 09:18:13', '2024-12-18 10:39:22', 1, 1),
                                                                                                                                                                                                                                                                                                                                                                                   (10, 0, '用户管理', 'SystemUser', '/system/user/index', NULL, 99, NULL, 'fa-solid:user-lock', NULL, NULL, NULL, NULL, '', NULL, 0, 0, 0, 0, 1, 1, 9, 0, '2024-12-17 09:19:46', '2024-12-18 10:39:22', 1, 1),
                                                                                                                                                                                                                                                                                                                                                                                   (11, 0, '角色管理', 'SystemRole', '/system/role/index', NULL, 99, NULL, 'ri:user-5-line', NULL, NULL, NULL, NULL, '', NULL, 0, 0, 0, 0, 1, 1, 9, 0, '2024-12-17 09:20:45', '2024-12-18 10:39:22', 1, 1),
                                                                                                                                                                                                                                                                                                                                                                                   (12, 0, '菜单管理', 'SystemMenu', '/system/menu/index', NULL, 99, NULL, 'ep:menu', NULL, NULL, NULL, NULL, '', NULL, 0, 0, 0, 0, 1, 1, 9, 0, '2024-12-17 09:21:32', '2024-12-18 10:39:22', 1, 1),
                                                                                                                                                                                                                                                                                                                                                                                   (13, 0, '部门管理', 'SystemDept', '/system/dept/index', NULL, 99, NULL, 'ri:git-branch-line', NULL, NULL, NULL, NULL, '', NULL, 0, 0, 0, 0, 1, 1, 9, 0, '2024-12-17 09:23:02', '2024-12-18 10:39:22', 1, 1),
                                                                                                                                                                                                                                                                                                                                                                                   (14, 3, '发布', '', '', NULL, 99, NULL, '', NULL, NULL, NULL, NULL, 'doc:table-btn:publish', NULL, 0, 0, 0, 0, 1, 1, 5, 0, '2024-12-17 09:38:14', '2024-12-18 10:39:22', 1, 1),
                                                                                                                                                                                                                                                                                                                                                                                   (15, 3, '下线', '', '', NULL, 99, NULL, '', NULL, NULL, NULL, NULL, 'doc:table-btn:offline', NULL, 0, 0, 0, 0, 1, 1, 5, 0, '2024-12-17 09:38:39', '2024-12-18 10:39:22', 1, 1),
                                                                                                                                                                                                                                                                                                                                                                                   (16, 3, '同步', '', '', NULL, 99, NULL, '', NULL, NULL, NULL, NULL, 'doc:table-btn:sync', NULL, 0, 0, 0, 0, 1, 1, 5, 0, '2024-12-17 09:40:33', '2024-12-18 10:39:22', 1, 1),
                                                                                                                                                                                                                                                                                                                                                                                   (17, 3, '同步全部接口', '', '', NULL, 99, NULL, '', NULL, NULL, NULL, NULL, 'doc:page-btn:sync', NULL, 0, 0, 0, 0, 1, 1, 5, 0, '2024-12-17 09:41:03', '2024-12-18 10:39:22', 1, 1),
                                                                                                                                                                                                                                                                                                                                                                                   (18, 3, '修改', '', '', '', 99, '', '', '', '', '', '', 'api:table-btn:update', '', 0, 0, 0, 0, 1, 0, 2, 0, '2024-12-19 11:30:49', '2024-12-19 11:30:49', 1, 1),
                                                                                                                                                                                                                                                                                                                                                                                   (20, 3, '启用/禁用', '', '', '', 99, '', '', '', '', '', '', 'api:table-btn:updateStatus', '', 0, 0, 0, 0, 1, 0, 2, 0, '2024-12-19 11:31:08', '2024-12-19 11:47:00', 1, 1);

INSERT INTO `sys_role` (`id`, `name`, `code`, `remark`, `status`, `is_deleted`, `add_time`, `update_time`, `add_by`, `update_by`) VALUES
                                                                                                                                      (1, '超级管理员', 'admin', '超级管理员', 1, 0, '2024-12-05 23:37:54', '2024-12-11 11:41:59', 1, 1),
                                                                                                                                      (2, '开发者', 'developer', '开发者', 1, 0, '2024-12-05 23:38:00', '2024-12-11 11:41:45', 1, 1),
                                                                                                                                      (3, '开发主管', 'dev_leader', '开发主管', 1, 0, '2024-12-19 09:55:30', '2024-12-19 09:55:30', 1, 1);

INSERT INTO `sys_role_resource` (`id`, `role_id`, `resource_id`, `add_time`, `update_time`, `add_by`, `update_by`) VALUES
                                                                                                                       (67, 1, 1, '2024-12-19 11:50:02', '2024-12-19 11:50:02', 1, 1),
                                                                                                                       (68, 1, 2, '2024-12-19 11:50:02', '2024-12-19 11:50:02', 1, 1),
                                                                                                                       (69, 1, 3, '2024-12-19 11:50:02', '2024-12-19 11:50:02', 1, 1),
                                                                                                                       (70, 1, 4, '2024-12-19 11:50:02', '2024-12-19 11:50:02', 1, 1),
                                                                                                                       (71, 1, 5, '2024-12-19 11:50:02', '2024-12-19 11:50:02', 1, 1),
                                                                                                                       (72, 1, 14, '2024-12-19 11:50:02', '2024-12-19 11:50:02', 1, 1),
                                                                                                                       (73, 1, 15, '2024-12-19 11:50:02', '2024-12-19 11:50:02', 1, 1),
                                                                                                                       (74, 1, 16, '2024-12-19 11:50:02', '2024-12-19 11:50:02', 1, 1),
                                                                                                                       (75, 1, 17, '2024-12-19 11:50:02', '2024-12-19 11:50:02', 1, 1),
                                                                                                                       (76, 1, 6, '2024-12-19 11:50:02', '2024-12-19 11:50:02', 1, 1),
                                                                                                                       (77, 1, 7, '2024-12-19 11:50:02', '2024-12-19 11:50:02', 1, 1),
                                                                                                                       (78, 1, 8, '2024-12-19 11:50:02', '2024-12-19 11:50:02', 1, 1),
                                                                                                                       (79, 1, 9, '2024-12-19 11:50:02', '2024-12-19 11:50:02', 1, 1),
                                                                                                                       (80, 1, 10, '2024-12-19 11:50:02', '2024-12-19 11:50:02', 1, 1),
                                                                                                                       (81, 1, 11, '2024-12-19 11:50:02', '2024-12-19 11:50:02', 1, 1),
                                                                                                                       (82, 1, 12, '2024-12-19 11:50:02', '2024-12-19 11:50:02', 1, 1),
                                                                                                                       (83, 1, 13, '2024-12-19 11:50:02', '2024-12-19 11:50:02', 1, 1),
                                                                                                                       (84, 1, 18, '2024-12-19 11:50:02', '2024-12-19 11:50:02', 1, 1),
                                                                                                                       (85, 1, 20, '2024-12-19 11:50:02', '2024-12-19 11:50:02', 1, 1),
                                                                                                                       (86, 2, 1, '2024-12-19 11:50:08', '2024-12-19 11:50:08', 1, 1),
                                                                                                                       (87, 2, 2, '2024-12-19 11:50:08', '2024-12-19 11:50:08', 1, 1),
                                                                                                                       (88, 2, 5, '2024-12-19 11:50:08', '2024-12-19 11:50:08', 1, 1),
                                                                                                                       (89, 2, 14, '2024-12-19 11:50:08', '2024-12-19 11:50:08', 1, 1),
                                                                                                                       (90, 2, 15, '2024-12-19 11:50:08', '2024-12-19 11:50:08', 1, 1),
                                                                                                                       (91, 2, 3, '2024-12-19 11:50:08', '2024-12-19 11:50:08', 1, 1),
                                                                                                                       (92, 2, 16, '2024-12-19 11:50:08', '2024-12-19 11:50:08', 1, 1),
                                                                                                                       (93, 2, 18, '2024-12-19 11:50:08', '2024-12-19 11:50:08', 1, 1),
                                                                                                                       (94, 2, 20, '2024-12-19 11:50:08', '2024-12-19 11:50:08', 1, 1),
                                                                                                                       (95, 3, 1, '2024-12-19 11:50:13', '2024-12-19 11:50:13', 1, 1),
                                                                                                                       (96, 3, 2, '2024-12-19 11:50:13', '2024-12-19 11:50:13', 1, 1),
                                                                                                                       (97, 3, 3, '2024-12-19 11:50:13', '2024-12-19 11:50:13', 1, 1),
                                                                                                                       (98, 3, 4, '2024-12-19 11:50:13', '2024-12-19 11:50:13', 1, 1),
                                                                                                                       (99, 3, 5, '2024-12-19 11:50:13', '2024-12-19 11:50:13', 1, 1),
                                                                                                                       (100, 3, 14, '2024-12-19 11:50:13', '2024-12-19 11:50:13', 1, 1),
                                                                                                                       (101, 3, 15, '2024-12-19 11:50:13', '2024-12-19 11:50:13', 1, 1),
                                                                                                                       (102, 3, 16, '2024-12-19 11:50:13', '2024-12-19 11:50:13', 1, 1),
                                                                                                                       (103, 3, 17, '2024-12-19 11:50:13', '2024-12-19 11:50:13', 1, 1),
                                                                                                                       (104, 3, 6, '2024-12-19 11:50:13', '2024-12-19 11:50:13', 1, 1),
                                                                                                                       (105, 3, 7, '2024-12-19 11:50:13', '2024-12-19 11:50:13', 1, 1),
                                                                                                                       (106, 3, 8, '2024-12-19 11:50:13', '2024-12-19 11:50:13', 1, 1),
                                                                                                                       (107, 3, 18, '2024-12-19 11:50:13', '2024-12-19 11:50:13', 1, 1),
                                                                                                                       (108, 3, 20, '2024-12-19 11:50:13', '2024-12-19 11:50:13', 1, 1);

INSERT INTO `sys_user` (`id`, `username`, `password`, `nickname`, `phone`, `email`, `avatar`, `gender`, `status`, `reg_type`, `remark`, `add_time`, `update_time`, `add_by`, `update_by`) VALUES
                                                                                                                                                                                              (2, 'jim', '$2a$10$LIw8h1oewg9ORK8ikYBRQ.HXchLcxSyPvNaNV6QBP2IXKsf33kJJy', 'jim', '', '', '', 0, 1, 'backend', '', '2024-12-12 12:07:33', '2024-12-20 19:59:48', 1, 1),
                                                                                                                                                                                              (3, 'tom', '$2a$10$0drvKbiVDxZ/.zeVqyYcCOucWZs2uWx6KPDu56ddvzCAF.BmEgG06', 'tom', '', '', '', 1, 1, 'backend', '', '2024-12-12 21:51:16', '2024-12-19 09:56:52', 1, 1);

INSERT INTO `sys_user_dept` (`id`, `user_id`, `dept_id`, `add_time`, `update_time`, `add_by`, `update_by`) VALUES
                                                                                                               (1, 1, 2, '2024-12-12 12:25:49', '2024-12-12 12:28:28', 0, 0),
                                                                                                               (4, 3, 2, '2024-12-12 21:51:35', '2024-12-12 21:51:35', 0, 0),
                                                                                                               (5, 2, 3, '2024-12-20 19:59:48', '2024-12-20 19:59:48', 0, 0);

INSERT INTO `sys_user_role` (`id`, `role_id`, `user_id`, `add_time`, `update_time`, `add_by`, `update_by`) VALUES
                                                                                                               (4, 1, 1, '2024-12-12 20:32:13', '2024-12-12 20:32:13', 1, 0),
                                                                                                               (5, 2, 2, '2024-12-12 20:32:16', '2024-12-12 20:32:16', 1, 0),
                                                                                                               (6, 3, 3, '2024-12-19 09:56:08', '2024-12-19 09:56:08', 1, 0);

-- ALTER
ALTER TABLE `api_info`
ADD COLUMN `api_mode` tinyint(4) NULL DEFAULT '1' COMMENT '接口模式，1-open接口，2-Restful模式' AFTER `reg_source`;


-- 2025-06-15
CREATE TABLE `help_doc` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `label` varchar(64) NOT NULL DEFAULT '' COMMENT '文档名称',
  `sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
  `is_deleted` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '是否删除',
  `status` tinyint(4) unsigned NOT NULL DEFAULT '1' COMMENT '状态，1：启用，2：禁用',
  `content` longtext COMMENT '内容',
  `content_type` tinyint(4) NOT NULL DEFAULT '1' COMMENT '内容类型,1-Markdown,2-富文本',
  `parent_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '父级id',
  `add_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  `add_by` bigint(20) DEFAULT '0' COMMENT '创建人id',
  `update_by` bigint(20) DEFAULT '0' COMMENT '修改人id',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT='帮助内容表';
