mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-25 22:46:35 +08:00
源站增加所属反向代理字段,以便于快速查找源站对应的反向代理
This commit is contained in:
@@ -122371,7 +122371,7 @@
|
||||
"name": "edgeOrigins",
|
||||
"engine": "InnoDB",
|
||||
"charset": "utf8mb4_general_ci",
|
||||
"definition": "CREATE TABLE `edgeOrigins` (\n `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',\n `adminId` int(11) unsigned DEFAULT '0' COMMENT '管理员ID',\n `userId` int(11) unsigned DEFAULT '0' COMMENT '用户ID',\n `isOn` tinyint(1) unsigned DEFAULT '1' COMMENT '是否启用',\n `name` varchar(255) DEFAULT NULL COMMENT '名称',\n `version` int(11) unsigned DEFAULT '0' COMMENT '版本',\n `addr` json DEFAULT NULL COMMENT '地址',\n `oss` json DEFAULT NULL COMMENT 'OSS配置',\n `description` varchar(512) DEFAULT NULL COMMENT '描述',\n `code` varchar(255) DEFAULT NULL COMMENT '代号',\n `weight` int(11) unsigned DEFAULT '0' COMMENT '权重',\n `connTimeout` json DEFAULT NULL COMMENT '连接超时',\n `readTimeout` json DEFAULT NULL COMMENT '读超时',\n `idleTimeout` json DEFAULT NULL COMMENT '空闲连接超时',\n `maxFails` int(11) unsigned DEFAULT '0' COMMENT '最多失败次数',\n `maxConns` int(11) unsigned DEFAULT '0' COMMENT '最大并发连接数',\n `maxIdleConns` int(11) unsigned DEFAULT '0' COMMENT '最多空闲连接数',\n `httpRequestURI` varchar(1024) DEFAULT NULL COMMENT '转发后的请求URI',\n `httpRequestHeader` json DEFAULT NULL COMMENT '请求Header配置',\n `httpResponseHeader` json DEFAULT NULL COMMENT '响应Header配置',\n `host` varchar(255) DEFAULT NULL COMMENT '自定义主机名',\n `healthCheck` json DEFAULT NULL COMMENT '健康检查设置',\n `cert` json DEFAULT NULL COMMENT '证书设置',\n `ftp` json DEFAULT NULL COMMENT 'FTP相关设置',\n `createdAt` bigint(11) unsigned DEFAULT '0' COMMENT '创建时间',\n `domains` json DEFAULT NULL COMMENT '所属域名',\n `followPort` tinyint(1) unsigned DEFAULT '0' COMMENT '端口跟随',\n `state` tinyint(1) unsigned DEFAULT '1' COMMENT '状态',\n `http2Enabled` tinyint(1) unsigned DEFAULT '0' COMMENT '是否支持HTTP/2',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='源站'",
|
||||
"definition": "CREATE TABLE `edgeOrigins` (\n `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',\n `adminId` int(11) unsigned DEFAULT '0' COMMENT '管理员ID',\n `userId` int(11) unsigned DEFAULT '0' COMMENT '用户ID',\n `reverseProxyId` bigint(11) unsigned DEFAULT '0' COMMENT '所属反向代理ID',\n `isOn` tinyint(1) unsigned DEFAULT '1' COMMENT '是否启用',\n `name` varchar(255) DEFAULT NULL COMMENT '名称',\n `version` int(11) unsigned DEFAULT '0' COMMENT '版本',\n `addr` json DEFAULT NULL COMMENT '地址',\n `oss` json DEFAULT NULL COMMENT 'OSS配置',\n `description` varchar(512) DEFAULT NULL COMMENT '描述',\n `code` varchar(255) DEFAULT NULL COMMENT '代号',\n `weight` int(11) unsigned DEFAULT '0' COMMENT '权重',\n `connTimeout` json DEFAULT NULL COMMENT '连接超时',\n `readTimeout` json DEFAULT NULL COMMENT '读超时',\n `idleTimeout` json DEFAULT NULL COMMENT '空闲连接超时',\n `maxFails` int(11) unsigned DEFAULT '0' COMMENT '最多失败次数',\n `maxConns` int(11) unsigned DEFAULT '0' COMMENT '最大并发连接数',\n `maxIdleConns` int(11) unsigned DEFAULT '0' COMMENT '最多空闲连接数',\n `httpRequestURI` varchar(1024) DEFAULT NULL COMMENT '转发后的请求URI',\n `httpRequestHeader` json DEFAULT NULL COMMENT '请求Header配置',\n `httpResponseHeader` json DEFAULT NULL COMMENT '响应Header配置',\n `host` varchar(255) DEFAULT NULL COMMENT '自定义主机名',\n `healthCheck` json DEFAULT NULL COMMENT '健康检查设置',\n `cert` json DEFAULT NULL COMMENT '证书设置',\n `ftp` json DEFAULT NULL COMMENT 'FTP相关设置',\n `createdAt` bigint(11) unsigned DEFAULT '0' COMMENT '创建时间',\n `domains` json DEFAULT NULL COMMENT '所属域名',\n `followPort` tinyint(1) unsigned DEFAULT '0' COMMENT '端口跟随',\n `state` tinyint(1) unsigned DEFAULT '1' COMMENT '状态',\n `http2Enabled` tinyint(1) unsigned DEFAULT '0' COMMENT '是否支持HTTP/2',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='源站'",
|
||||
"fields": [
|
||||
{
|
||||
"name": "id",
|
||||
@@ -122385,6 +122385,10 @@
|
||||
"name": "userId",
|
||||
"definition": "int(11) unsigned DEFAULT '0' COMMENT '用户ID'"
|
||||
},
|
||||
{
|
||||
"name": "reverseProxyId",
|
||||
"definition": "bigint(11) unsigned DEFAULT '0' COMMENT '所属反向代理ID'"
|
||||
},
|
||||
{
|
||||
"name": "isOn",
|
||||
"definition": "tinyint(1) unsigned DEFAULT '1' COMMENT '是否启用'"
|
||||
|
||||
Reference in New Issue
Block a user