wp车辆信息

This commit is contained in:
2026-03-09 17:46:17 +08:00
parent 9a0fec3410
commit 25795a4f66
13 changed files with 1277 additions and 268 deletions
+16
View File
@@ -0,0 +1,16 @@
-- 二手车FAQ关联表
CREATE TABLE `used_car_faq` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键ID',
`car_id` bigint(20) unsigned NOT NULL COMMENT '关联used_car_detail.id',
`question` varchar(500) NOT NULL COMMENT '问题',
`answer` text NOT NULL COMMENT '答案',
`sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
`status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态:0=禁用,1=启用',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_car_id` (`car_id`),
KEY `idx_status` (`status`),
KEY `idx_sort` (`sort`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='二手车常见问题表';