视频模板代码框架

This commit is contained in:
spllzh
2025-10-09 16:15:39 +08:00
parent 6dff49fcc1
commit b047a3be90
38 changed files with 971 additions and 116 deletions

View File

@@ -25,6 +25,8 @@ AFTER `sales_name`;

View File

@@ -17,3 +17,5 @@ ADD INDEX `idx_audio_name` (`audio_name`);

View File

@@ -1,4 +1,4 @@
-- 人脸检测日志表
-- 图像检测日志表
CREATE TABLE IF NOT EXISTS `face_detect_log` (
`id` varchar(36) NOT NULL COMMENT '主键IDUUID',
`request_id` varchar(64) NOT NULL COMMENT '请求ID',
@@ -11,7 +11,7 @@ CREATE TABLE IF NOT EXISTS `face_detect_log` (
`response_time` datetime DEFAULT NULL COMMENT '响应时间',
`status_code` int(11) DEFAULT NULL COMMENT 'HTTP状态码',
`success` tinyint(1) DEFAULT 0 COMMENT '是否成功',
`face_count` int(11) DEFAULT 0 COMMENT '检测到的人脸数量',
`face_count` int(11) DEFAULT 0 COMMENT '检测到的图像数量',
`response_data` longtext COMMENT '完整响应数据',
`error_message` text COMMENT '错误信息',
`processing_time_ms` bigint(20) DEFAULT NULL COMMENT '处理时间(毫秒)',
@@ -24,4 +24,4 @@ CREATE TABLE IF NOT EXISTS `face_detect_log` (
KEY `idx_request_time` (`request_time`),
KEY `idx_success` (`success`),
KEY `idx_face_count` (`face_count`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='人脸检测日志表';
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='图像检测日志表';