upload project source code
This commit is contained in:
27
后端源码/yifan.action-ai.cn/api/sql/yifan_feedback.sql
Normal file
27
后端源码/yifan.action-ai.cn/api/sql/yifan_feedback.sql
Normal file
@@ -0,0 +1,27 @@
|
||||
-- 意见反馈表
|
||||
CREATE TABLE `yifan_feedback` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
|
||||
`created_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`updated_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
`created_id` int(11) DEFAULT NULL COMMENT '创建人ID',
|
||||
`updated_id` int(11) DEFAULT NULL COMMENT '更新人ID',
|
||||
`is_deleted` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否删除(0否 1是)',
|
||||
`status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态(0禁用 1启用)',
|
||||
|
||||
`user_id` int(11) NOT NULL COMMENT '用户ID',
|
||||
`content` text NOT NULL COMMENT '反馈内容',
|
||||
`images` varchar(1000) DEFAULT NULL COMMENT '图片URL(多个用逗号分隔)',
|
||||
`contact` varchar(100) DEFAULT NULL COMMENT '联系方式',
|
||||
`feedback_type` varchar(32) DEFAULT 'suggestion' COMMENT '反馈类型(suggestion:建议 bug:问题 complaint:投诉 other:其他)',
|
||||
`handle_status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '处理状态(0待处理 1处理中 2已处理 3已关闭)',
|
||||
`handle_result` text DEFAULT NULL COMMENT '处理结果',
|
||||
`handle_time` datetime DEFAULT NULL COMMENT '处理时间',
|
||||
`handler_id` int(11) DEFAULT NULL COMMENT '处理人ID',
|
||||
`remark` varchar(255) DEFAULT NULL COMMENT '备注',
|
||||
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idx_user_id` (`user_id`),
|
||||
KEY `idx_feedback_type` (`feedback_type`),
|
||||
KEY `idx_handle_status` (`handle_status`),
|
||||
KEY `idx_created_time` (`created_time`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='意见反馈表';
|
||||
Reference in New Issue
Block a user