mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2026-01-06 07:25:48 +08:00
增加请求脚本审核机制
This commit is contained in:
@@ -245810,6 +245810,81 @@
|
||||
],
|
||||
"records": []
|
||||
},
|
||||
{
|
||||
"name": "edgeUserScripts",
|
||||
"engine": "InnoDB",
|
||||
"charset": "utf8mb4_general_ci",
|
||||
"definition": "CREATE TABLE `edgeUserScripts` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',\n `userId` bigint(11) unsigned DEFAULT '0' COMMENT '用户ID',\n `adminId` bigint(11) unsigned DEFAULT '0' COMMENT '操作管理员',\n `code` text COMMENT '代码',\n `codeMD5` varchar(32) DEFAULT NULL COMMENT '代码MD5',\n `createdAt` bigint(11) unsigned DEFAULT '0' COMMENT '创建时间',\n `isRejected` tinyint(1) unsigned DEFAULT '0' COMMENT '是否已驳回',\n `rejectedAt` bigint(11) unsigned DEFAULT '0' COMMENT '驳回时间',\n `rejectedReason` varchar(255) DEFAULT NULL COMMENT '驳回原因',\n `isPassed` tinyint(1) unsigned DEFAULT '0' COMMENT '是否通过审核',\n `passedAt` bigint(11) unsigned DEFAULT '0' COMMENT '通过时间',\n `state` tinyint(1) unsigned DEFAULT '1' COMMENT '状态',\n `webIds` json DEFAULT NULL COMMENT 'WebId列表',\n PRIMARY KEY (`id`),\n KEY `userId` (`userId`),\n KEY `codeMD5` (`codeMD5`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户脚本审核'",
|
||||
"fields": [
|
||||
{
|
||||
"name": "id",
|
||||
"definition": "bigint(20) unsigned auto_increment COMMENT 'ID'"
|
||||
},
|
||||
{
|
||||
"name": "userId",
|
||||
"definition": "bigint(11) unsigned DEFAULT '0' COMMENT '用户ID'"
|
||||
},
|
||||
{
|
||||
"name": "adminId",
|
||||
"definition": "bigint(11) unsigned DEFAULT '0' COMMENT '操作管理员'"
|
||||
},
|
||||
{
|
||||
"name": "code",
|
||||
"definition": "text COMMENT '代码'"
|
||||
},
|
||||
{
|
||||
"name": "codeMD5",
|
||||
"definition": "varchar(32) COMMENT '代码MD5'"
|
||||
},
|
||||
{
|
||||
"name": "createdAt",
|
||||
"definition": "bigint(11) unsigned DEFAULT '0' COMMENT '创建时间'"
|
||||
},
|
||||
{
|
||||
"name": "isRejected",
|
||||
"definition": "tinyint(1) unsigned DEFAULT '0' COMMENT '是否已驳回'"
|
||||
},
|
||||
{
|
||||
"name": "rejectedAt",
|
||||
"definition": "bigint(11) unsigned DEFAULT '0' COMMENT '驳回时间'"
|
||||
},
|
||||
{
|
||||
"name": "rejectedReason",
|
||||
"definition": "varchar(255) COMMENT '驳回原因'"
|
||||
},
|
||||
{
|
||||
"name": "isPassed",
|
||||
"definition": "tinyint(1) unsigned DEFAULT '0' COMMENT '是否通过审核'"
|
||||
},
|
||||
{
|
||||
"name": "passedAt",
|
||||
"definition": "bigint(11) unsigned DEFAULT '0' COMMENT '通过时间'"
|
||||
},
|
||||
{
|
||||
"name": "state",
|
||||
"definition": "tinyint(1) unsigned DEFAULT '1' COMMENT '状态'"
|
||||
},
|
||||
{
|
||||
"name": "webIds",
|
||||
"definition": "json COMMENT 'WebId列表'"
|
||||
}
|
||||
],
|
||||
"indexes": [
|
||||
{
|
||||
"name": "PRIMARY",
|
||||
"definition": "UNIQUE KEY `PRIMARY` (`id`) USING BTREE"
|
||||
},
|
||||
{
|
||||
"name": "userId",
|
||||
"definition": "KEY `userId` (`userId`) USING BTREE"
|
||||
},
|
||||
{
|
||||
"name": "codeMD5",
|
||||
"definition": "KEY `codeMD5` (`codeMD5`) USING BTREE"
|
||||
}
|
||||
],
|
||||
"records": []
|
||||
},
|
||||
{
|
||||
"name": "edgeUserTicketCategories",
|
||||
"engine": "InnoDB",
|
||||
|
||||
Reference in New Issue
Block a user