- 新增品类专属背面/侧面描述(BACK_VIEW_HINTS/SIDE_VIEW_HINTS) - 强化一致性前缀策略,按视角定制相机位置描述 - 更新视角映射提示词为纯摄影术语 - 修复前端下载逻辑:改用fetch直接下载当前视角图片 - HTTPS改HTTP修复外网URL访问 - 新增多视角一致性与3D视频生成技术文档
513 lines
74 KiB
SQL
513 lines
74 KiB
SQL
-- 玉宗珠宝设计系统 全量数据库初始化脚本
|
||
-- 自动生成,包含建表语句和全量数据
|
||
|
||
SET NAMES utf8mb4;
|
||
SET FOREIGN_KEY_CHECKS = 0;
|
||
|
||
-- ----------------------------
|
||
-- Table: categories
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `categories`;
|
||
CREATE TABLE `categories` (
|
||
`id` int NOT NULL AUTO_INCREMENT COMMENT '品类ID',
|
||
`name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '品类名称',
|
||
`icon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '品类图标',
|
||
`sort_order` int DEFAULT NULL COMMENT '排序',
|
||
`flow_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '流程类型:full/size_color/simple',
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
|
||
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (1, '牌子', NULL, 1, 'full');
|
||
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (2, '珠子', NULL, 2, 'size_color');
|
||
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (3, '手把件', NULL, 3, 'full');
|
||
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (4, '雕刻件', NULL, 4, 'full');
|
||
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (5, '摆件', NULL, 5, 'full');
|
||
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (6, '手镯', NULL, 6, 'full');
|
||
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (7, '耳钉', NULL, 7, 'full');
|
||
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (8, '耳饰', NULL, 8, 'full');
|
||
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (9, '手链', NULL, 9, 'size_color');
|
||
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (10, '项链', NULL, 10, 'full');
|
||
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (11, '戒指', NULL, 11, 'full');
|
||
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (12, '表带', NULL, 12, 'size_color');
|
||
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (13, '随形', NULL, 13, 'simple');
|
||
|
||
-- ----------------------------
|
||
-- Table: colors
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `colors`;
|
||
CREATE TABLE `colors` (
|
||
`id` int NOT NULL AUTO_INCREMENT COMMENT '颜色ID',
|
||
`category_id` int NOT NULL COMMENT '适用品类',
|
||
`name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '颜色名称',
|
||
`hex_code` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '色值',
|
||
`sort_order` int DEFAULT NULL COMMENT '排序',
|
||
PRIMARY KEY (`id`),
|
||
KEY `category_id` (`category_id`),
|
||
CONSTRAINT `colors_ibfk_1` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=132 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (1, 2, '糖白', '#F5F0E8', 1);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (2, 2, '白玉', '#FEFEF2', 2);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (3, 2, '碧玉', '#2D5F2D', 3);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (4, 1, '白玉', '#FEFEF2', 1);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (5, 1, '青白玉', '#E8EDE4', 2);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (6, 1, '青玉', '#7A8B6E', 3);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (7, 1, '碧玉', '#2D5F2D', 4);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (8, 1, '翠青', '#6BAF8D', 5);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (9, 1, '黄玉', '#D4A843', 6);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (10, 1, '糖玉', '#C4856C', 7);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (11, 1, '墨玉', '#2C2C2C', 8);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (12, 1, '藕粉', '#E8B4B8', 9);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (13, 1, '烟紫', '#8B7D9B', 10);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (14, 3, '白玉', '#FEFEF2', 1);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (15, 3, '青白玉', '#E8EDE4', 2);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (16, 3, '青玉', '#7A8B6E', 3);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (17, 3, '碧玉', '#2D5F2D', 4);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (18, 3, '翠青', '#6BAF8D', 5);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (19, 3, '黄玉', '#D4A843', 6);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (20, 3, '糖玉', '#C4856C', 7);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (21, 3, '墨玉', '#2C2C2C', 8);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (22, 3, '藕粉', '#E8B4B8', 9);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (23, 3, '烟紫', '#8B7D9B', 10);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (24, 4, '白玉', '#FEFEF2', 1);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (25, 4, '青白玉', '#E8EDE4', 2);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (26, 4, '青玉', '#7A8B6E', 3);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (27, 4, '碧玉', '#2D5F2D', 4);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (28, 4, '翠青', '#6BAF8D', 5);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (29, 4, '黄玉', '#D4A843', 6);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (30, 4, '糖玉', '#C4856C', 7);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (31, 4, '墨玉', '#2C2C2C', 8);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (32, 4, '藕粉', '#E8B4B8', 9);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (33, 4, '烟紫', '#8B7D9B', 10);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (34, 5, '白玉', '#FEFEF2', 1);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (35, 5, '青白玉', '#E8EDE4', 2);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (36, 5, '青玉', '#7A8B6E', 3);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (37, 5, '碧玉', '#2D5F2D', 4);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (38, 5, '翠青', '#6BAF8D', 5);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (39, 5, '黄玉', '#D4A843', 6);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (40, 5, '糖玉', '#C4856C', 7);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (41, 5, '墨玉', '#2C2C2C', 8);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (42, 5, '藕粉', '#E8B4B8', 9);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (43, 5, '烟紫', '#8B7D9B', 10);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (44, 6, '白玉', '#FEFEF2', 1);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (45, 6, '青白玉', '#E8EDE4', 2);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (46, 6, '青玉', '#7A8B6E', 3);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (47, 6, '碧玉', '#2D5F2D', 4);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (48, 6, '翠青', '#6BAF8D', 5);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (49, 6, '黄玉', '#D4A843', 6);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (50, 6, '糖玉', '#C4856C', 7);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (51, 6, '墨玉', '#2C2C2C', 8);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (52, 6, '藕粉', '#E8B4B8', 9);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (53, 6, '烟紫', '#8B7D9B', 10);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (54, 7, '白玉', '#FEFEF2', 1);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (55, 7, '碧玉', '#2D5F2D', 2);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (56, 7, '翠青', '#6BAF8D', 3);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (57, 7, '黄玉', '#D4A843', 4);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (58, 7, '藕粉', '#E8B4B8', 5);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (59, 7, '烟紫', '#8B7D9B', 6);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (60, 8, '白玉', '#FEFEF2', 1);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (61, 8, '碧玉', '#2D5F2D', 2);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (62, 8, '翠青', '#6BAF8D', 3);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (63, 8, '黄玉', '#D4A843', 4);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (64, 8, '藕粉', '#E8B4B8', 5);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (65, 8, '烟紫', '#8B7D9B', 6);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (66, 9, '白玉', '#FEFEF2', 1);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (67, 9, '青白玉', '#E8EDE4', 2);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (68, 9, '青玉', '#7A8B6E', 3);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (69, 9, '碧玉', '#2D5F2D', 4);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (70, 9, '翠青', '#6BAF8D', 5);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (71, 9, '黄玉', '#D4A843', 6);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (72, 9, '糖玉', '#C4856C', 7);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (73, 9, '墨玉', '#2C2C2C', 8);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (74, 9, '藕粉', '#E8B4B8', 9);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (75, 9, '烟紫', '#8B7D9B', 10);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (76, 10, '白玉', '#FEFEF2', 1);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (77, 10, '青白玉', '#E8EDE4', 2);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (78, 10, '青玉', '#7A8B6E', 3);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (79, 10, '碧玉', '#2D5F2D', 4);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (80, 10, '翠青', '#6BAF8D', 5);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (81, 10, '黄玉', '#D4A843', 6);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (82, 10, '糖玉', '#C4856C', 7);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (83, 10, '墨玉', '#2C2C2C', 8);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (84, 10, '藕粉', '#E8B4B8', 9);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (85, 10, '烟紫', '#8B7D9B', 10);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (86, 11, '白玉', '#FEFEF2', 1);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (87, 11, '碧玉', '#2D5F2D', 2);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (88, 11, '翠青', '#6BAF8D', 3);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (89, 11, '黄玉', '#D4A843', 4);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (90, 11, '墨玉', '#2C2C2C', 5);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (91, 11, '藕粉', '#E8B4B8', 6);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (92, 12, '白玉', '#FEFEF2', 1);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (93, 12, '青玉', '#7A8B6E', 2);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (94, 12, '碧玉', '#2D5F2D', 3);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (95, 12, '糖玉', '#C4856C', 4);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (96, 12, '墨玉', '#2C2C2C', 5);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (97, 2, '青白玉', '#E8EDE4', 5);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (98, 2, '青玉', '#7A8B6E', 6);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (99, 2, '翠青', '#6BAF8D', 8);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (100, 2, '黄玉', '#D4A843', 9);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (101, 2, '糖玉', '#C4856C', 10);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (102, 2, '墨玉', '#2C2C2C', 11);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (103, 2, '藕粉', '#E8B4B8', 12);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (104, 2, '烟紫', '#8B7D9B', 13);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (105, 7, '青白玉', '#E8EDE4', 2);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (106, 7, '青玉', '#7A8B6E', 3);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (107, 7, '糖玉', '#C4856C', 7);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (108, 7, '墨玉', '#2C2C2C', 8);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (109, 8, '青白玉', '#E8EDE4', 2);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (110, 8, '青玉', '#7A8B6E', 3);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (111, 8, '糖玉', '#C4856C', 7);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (112, 8, '墨玉', '#2C2C2C', 8);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (113, 11, '青白玉', '#E8EDE4', 2);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (114, 11, '青玉', '#7A8B6E', 3);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (115, 11, '糖玉', '#C4856C', 7);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (116, 11, '烟紫', '#8B7D9B', 10);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (117, 12, '青白玉', '#E8EDE4', 2);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (118, 12, '翠青', '#6BAF8D', 5);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (119, 12, '黄玉', '#D4A843', 6);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (120, 12, '藕粉', '#E8B4B8', 9);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (121, 12, '烟紫', '#8B7D9B', 10);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (122, 13, '白玉', '#FEFEF2', 1);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (123, 13, '青白玉', '#E8EDE4', 2);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (124, 13, '青玉', '#7A8B6E', 3);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (125, 13, '碧玉', '#2D5F2D', 4);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (126, 13, '翠青', '#6BAF8D', 5);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (127, 13, '黄玉', '#D4A843', 6);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (128, 13, '糖玉', '#C4856C', 7);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (129, 13, '墨玉', '#2C2C2C', 8);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (130, 13, '藕粉', '#E8B4B8', 9);
|
||
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (131, 13, '烟紫', '#8B7D9B', 10);
|
||
|
||
-- ----------------------------
|
||
-- Table: design_images
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `design_images`;
|
||
CREATE TABLE `design_images` (
|
||
`id` bigint NOT NULL AUTO_INCREMENT,
|
||
`design_id` bigint NOT NULL,
|
||
`view_name` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`image_url` text COLLATE utf8mb4_unicode_ci,
|
||
`model_used` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`prompt_used` text COLLATE utf8mb4_unicode_ci,
|
||
`sort_order` int DEFAULT '0',
|
||
`model_3d_url` text COLLATE utf8mb4_unicode_ci COMMENT '3D模型URL(.glb)',
|
||
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
|
||
PRIMARY KEY (`id`),
|
||
KEY `idx_design_images_design_id` (`design_id`),
|
||
CONSTRAINT `fk_design_images_design` FOREIGN KEY (`design_id`) REFERENCES `designs` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
|
||
INSERT INTO `design_images` (`id`, `design_id`, `view_name`, `image_url`, `model_used`, `prompt_used`, `sort_order`, `model_3d_url`, `created_at`) VALUES (26, 24, '效果图', 'https://ark-acg-cn-beijing.tos-cn-beijing.volces.com/doubao-seedream-5-0/021774603662634abef7db0e51ae42a75ef9551e31b2ffa297e1d_0.jpeg?X-Tos-Algorithm=TOS4-HMAC-SHA256&X-Tos-Credential=AKLTYWJkZTExNjA1ZDUyNDc3YzhjNTM5OGIyNjBhNDcyOTQ%2F20260327%2Fcn-beijing%2Ftos%2Frequest&X-Tos-Date=20260327T092814Z&X-Tos-Expires=86400&X-Tos-Signature=4c45a7e5cd9deab6608a0a088896b66ea86b978f80c22d725c5cdbdd8d48e72c&X-Tos-SignedHeaders=host', 'seedream-5.0', 'Chinese Hetian nephrite jade pendant plaque, rectangular tablet shape, square shaped plaque, pure white nephrite jade, milky translucent, warm ivory tone, featuring Pixiu mythical beast, Chinese fortune guardian creature, relief carving with raised design emerging from surface, classical traditional Chinese style, antique aesthetic, heritage craftsmanship, high-gloss mirror polish, reflective glossy surface, designed for daily wear, comfortable and practical, size approximately 60x40x12mm, design concept: 桌子上, three-quarter view, 45-degree angle, hero shot, dramatic perspective showing depth and dimension, professional jewelry product photography, studio lighting setup, pure white background, ultra-detailed, sharp focus, 8K resolution, photorealistic rendering, high-end commercial quality', 0, NULL, '2026-03-27 09:29:10');
|
||
INSERT INTO `design_images` (`id`, `design_id`, `view_name`, `image_url`, `model_used`, `prompt_used`, `sort_order`, `model_3d_url`, `created_at`) VALUES (27, 24, '正面图', 'https://ark-acg-cn-beijing.tos-cn-beijing.volces.com/doubao-seedream-5-0/021774603695370cd417e3a5d5f9b5e363d704a28c424928021b1_0.jpeg?X-Tos-Algorithm=TOS4-HMAC-SHA256&X-Tos-Credential=AKLTYWJkZTExNjA1ZDUyNDc3YzhjNTM5OGIyNjBhNDcyOTQ%2F20260327%2Fcn-beijing%2Ftos%2Frequest&X-Tos-Date=20260327T092844Z&X-Tos-Expires=86400&X-Tos-Signature=c6782b121c95d03ce6a06e492a5cc388232220c6b3647052e21ae7861090c1f8&X-Tos-SignedHeaders=host', 'seedream-5.0', 'Chinese Hetian nephrite jade pendant plaque, rectangular tablet shape, square shaped plaque, pure white nephrite jade, milky translucent, warm ivory tone, featuring Pixiu mythical beast, Chinese fortune guardian creature, relief carving with raised design emerging from surface, classical traditional Chinese style, antique aesthetic, heritage craftsmanship, high-gloss mirror polish, reflective glossy surface, designed for daily wear, comfortable and practical, size approximately 60x40x12mm, design concept: 桌子上, front view, straight-on, flat lay centered, facing camera directly, professional jewelry product photography, studio lighting setup, pure white background, ultra-detailed, sharp focus, 8K resolution, photorealistic rendering, high-end commercial quality', 1, NULL, '2026-03-27 09:29:10');
|
||
INSERT INTO `design_images` (`id`, `design_id`, `view_name`, `image_url`, `model_used`, `prompt_used`, `sort_order`, `model_3d_url`, `created_at`) VALUES (28, 24, '背面图', 'https://ark-acg-cn-beijing.tos-cn-beijing.volces.com/doubao-seedream-5-0/0217746037252401fad3a044f20103f8e4b726dec7c2fa48ca5da_0.jpeg?X-Tos-Algorithm=TOS4-HMAC-SHA256&X-Tos-Credential=AKLTYWJkZTExNjA1ZDUyNDc3YzhjNTM5OGIyNjBhNDcyOTQ%2F20260327%2Fcn-beijing%2Ftos%2Frequest&X-Tos-Date=20260327T092910Z&X-Tos-Expires=86400&X-Tos-Signature=4736a14a81377c899dd03fbbf28f2d70f4447c16368ea656517a260fc89c91f0&X-Tos-SignedHeaders=host', 'seedream-5.0', 'Chinese Hetian nephrite jade pendant plaque, rectangular tablet shape, square shaped plaque, pure white nephrite jade, milky translucent, warm ivory tone, featuring Pixiu mythical beast, Chinese fortune guardian creature, relief carving with raised design emerging from surface, classical traditional Chinese style, antique aesthetic, heritage craftsmanship, high-gloss mirror polish, reflective glossy surface, designed for daily wear, comfortable and practical, size approximately 60x40x12mm, design concept: 桌子上, back view, rear side, showing reverse surface and texture, professional jewelry product photography, studio lighting setup, pure white background, ultra-detailed, sharp focus, 8K resolution, photorealistic rendering, high-end commercial quality', 2, NULL, '2026-03-27 09:29:10');
|
||
INSERT INTO `design_images` (`id`, `design_id`, `view_name`, `image_url`, `model_used`, `prompt_used`, `sort_order`, `model_3d_url`, `created_at`) VALUES (29, 27, '效果图', 'https://ark-acg-cn-beijing.tos-cn-beijing.volces.com/doubao-seedream-5-0/0217746123473820b865ba46ab853a653f94346fa59dc1da3cf44_0.jpeg?X-Tos-Algorithm=TOS4-HMAC-SHA256&X-Tos-Credential=AKLTYWJkZTExNjA1ZDUyNDc3YzhjNTM5OGIyNjBhNDcyOTQ%2F20260327%2Fcn-beijing%2Ftos%2Frequest&X-Tos-Date=20260327T115254Z&X-Tos-Expires=86400&X-Tos-Signature=1d5da361de1e5113a0bb5d01840b388f0fd80f358ed559f28ceb3da5e75a3ee3&X-Tos-SignedHeaders=host', 'seedream-5.0', 'Chinese Hetian nephrite jade freeform sculpture, organic natural shape following the raw stone contour, artistic interpretation of the original rough jade form, celadon nephrite jade, muted sage green, natural earthy green, featuring Maitreya laughing Buddha, jovial happy Buddha figure, relief carving with raised design emerging from surface, classical traditional Chinese style, antique aesthetic, heritage craftsmanship, high-gloss mirror polish, reflective glossy surface, designed for daily wear, comfortable and practical, size approximately 小(约60mm), design concept: 形状:原石随形,自由发挥, three-quarter view, 45-degree angle, hero shot, dramatic perspective showing depth and dimension, professional jewelry product photography, studio lighting setup, pure white background, ultra-detailed, sharp focus, 8K resolution, photorealistic rendering, high-end commercial quality', 0, '/uploads/models/506909359d6c45fe9e43108ee7765a9a.glb', '2026-03-27 11:54:22');
|
||
INSERT INTO `design_images` (`id`, `design_id`, `view_name`, `image_url`, `model_used`, `prompt_used`, `sort_order`, `model_3d_url`, `created_at`) VALUES (30, 27, '正面图', 'https://ark-acg-cn-beijing.tos-cn-beijing.volces.com/doubao-seedream-5-0/021774612375050be847cf78a18700c7c5f1c903c2ea6d9bd058e_0.jpeg?X-Tos-Algorithm=TOS4-HMAC-SHA256&X-Tos-Credential=AKLTYWJkZTExNjA1ZDUyNDc3YzhjNTM5OGIyNjBhNDcyOTQ%2F20260327%2Fcn-beijing%2Ftos%2Frequest&X-Tos-Date=20260327T115322Z&X-Tos-Expires=86400&X-Tos-Signature=8436646d32886371fb2693a7d2a43476f2df124c0c6c821b64c1adb63649964e&X-Tos-SignedHeaders=host', 'seedream-5.0', 'Chinese Hetian nephrite jade freeform sculpture, organic natural shape following the raw stone contour, artistic interpretation of the original rough jade form, celadon nephrite jade, muted sage green, natural earthy green, featuring Maitreya laughing Buddha, jovial happy Buddha figure, relief carving with raised design emerging from surface, classical traditional Chinese style, antique aesthetic, heritage craftsmanship, high-gloss mirror polish, reflective glossy surface, designed for daily wear, comfortable and practical, size approximately 小(约60mm), design concept: 形状:原石随形,自由发挥, front view, straight-on, flat lay centered, facing camera directly, professional jewelry product photography, studio lighting setup, pure white background, ultra-detailed, sharp focus, 8K resolution, photorealistic rendering, high-end commercial quality', 1, NULL, '2026-03-27 11:54:22');
|
||
INSERT INTO `design_images` (`id`, `design_id`, `view_name`, `image_url`, `model_used`, `prompt_used`, `sort_order`, `model_3d_url`, `created_at`) VALUES (31, 27, '侧面图', 'https://ark-acg-cn-beijing.tos-cn-beijing.volces.com/doubao-seedream-5-0/02177461240230991172dea4c1343f5a1ee75fbf798a6b0d4fd26_0.jpeg?X-Tos-Algorithm=TOS4-HMAC-SHA256&X-Tos-Credential=AKLTYWJkZTExNjA1ZDUyNDc3YzhjNTM5OGIyNjBhNDcyOTQ%2F20260327%2Fcn-beijing%2Ftos%2Frequest&X-Tos-Date=20260327T115351Z&X-Tos-Expires=86400&X-Tos-Signature=3d15b4eb02c16e32b3c5ea6bf0c65966e97822edf9da84f072d0f9e54665f777&X-Tos-SignedHeaders=host', 'seedream-5.0', 'Chinese Hetian nephrite jade freeform sculpture, organic natural shape following the raw stone contour, artistic interpretation of the original rough jade form, celadon nephrite jade, muted sage green, natural earthy green, featuring Maitreya laughing Buddha, jovial happy Buddha figure, relief carving with raised design emerging from surface, classical traditional Chinese style, antique aesthetic, heritage craftsmanship, high-gloss mirror polish, reflective glossy surface, designed for daily wear, comfortable and practical, size approximately 小(约60mm), design concept: 形状:原石随形,自由发挥, side profile view, 90-degree lateral angle, showing thickness and contour, professional jewelry product photography, studio lighting setup, pure white background, ultra-detailed, sharp focus, 8K resolution, photorealistic rendering, high-end commercial quality', 2, NULL, '2026-03-27 11:54:22');
|
||
INSERT INTO `design_images` (`id`, `design_id`, `view_name`, `image_url`, `model_used`, `prompt_used`, `sort_order`, `model_3d_url`, `created_at`) VALUES (32, 27, '背面图', 'https://ark-acg-cn-beijing.tos-cn-beijing.volces.com/doubao-seedream-5-0/021774612432177ca53c98b4a9847edf4b59a94723c611efd12a3_0.jpeg?X-Tos-Algorithm=TOS4-HMAC-SHA256&X-Tos-Credential=AKLTYWJkZTExNjA1ZDUyNDc3YzhjNTM5OGIyNjBhNDcyOTQ%2F20260327%2Fcn-beijing%2Ftos%2Frequest&X-Tos-Date=20260327T115422Z&X-Tos-Expires=86400&X-Tos-Signature=0be7759a2bfc3b6b323417c29665910745a2d687996fb2d889a525c56b4c80ee&X-Tos-SignedHeaders=host', 'seedream-5.0', 'Chinese Hetian nephrite jade freeform sculpture, organic natural shape following the raw stone contour, artistic interpretation of the original rough jade form, celadon nephrite jade, muted sage green, natural earthy green, featuring Maitreya laughing Buddha, jovial happy Buddha figure, relief carving with raised design emerging from surface, classical traditional Chinese style, antique aesthetic, heritage craftsmanship, high-gloss mirror polish, reflective glossy surface, designed for daily wear, comfortable and practical, size approximately 小(约60mm), design concept: 形状:原石随形,自由发挥, back view, rear side, showing reverse surface and texture, professional jewelry product photography, studio lighting setup, pure white background, ultra-detailed, sharp focus, 8K resolution, photorealistic rendering, high-end commercial quality', 3, NULL, '2026-03-27 11:54:22');
|
||
|
||
-- ----------------------------
|
||
-- Table: designs
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `designs`;
|
||
CREATE TABLE `designs` (
|
||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '设计ID',
|
||
`user_id` bigint NOT NULL COMMENT '用户ID',
|
||
`category_id` int NOT NULL COMMENT '品类ID',
|
||
`sub_type_id` int DEFAULT NULL COMMENT '子类型ID',
|
||
`color_id` int DEFAULT NULL COMMENT '颜色ID',
|
||
`prompt` text COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '设计需求',
|
||
`usage_scene` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`surface_finish` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`size_spec` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`motif` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`design_style` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`carving_technique` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`image_url` text COLLATE utf8mb4_unicode_ci,
|
||
`video_url` text COLLATE utf8mb4_unicode_ci COMMENT '360度展示视频URL',
|
||
`status` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '状态',
|
||
`created_at` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||
`updated_at` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
|
||
PRIMARY KEY (`id`),
|
||
KEY `user_id` (`user_id`),
|
||
KEY `category_id` (`category_id`),
|
||
KEY `sub_type_id` (`sub_type_id`),
|
||
KEY `color_id` (`color_id`),
|
||
CONSTRAINT `designs_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`),
|
||
CONSTRAINT `designs_ibfk_2` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`),
|
||
CONSTRAINT `designs_ibfk_3` FOREIGN KEY (`sub_type_id`) REFERENCES `sub_types` (`id`),
|
||
CONSTRAINT `designs_ibfk_4` FOREIGN KEY (`color_id`) REFERENCES `colors` (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
|
||
INSERT INTO `designs` (`id`, `user_id`, `category_id`, `sub_type_id`, `color_id`, `prompt`, `usage_scene`, `surface_finish`, `size_spec`, `motif`, `design_style`, `carving_technique`, `image_url`, `video_url`, `status`, `created_at`, `updated_at`) VALUES (24, 1, 1, 5, 4, '桌子上', '日常佩戴', '高光抛光', '60x40x12mm', '貔貅', '古典传统', '浮雕', 'https://ark-acg-cn-beijing.tos-cn-beijing.volces.com/doubao-seedream-5-0/021774603662634abef7db0e51ae42a75ef9551e31b2ffa297e1d_0.jpeg?X-Tos-Algorithm=TOS4-HMAC-SHA256&X-Tos-Credential=AKLTYWJkZTExNjA1ZDUyNDc3YzhjNTM5OGIyNjBhNDcyOTQ%2F20260327%2Fcn-beijing%2Ftos%2Frequest&X-Tos-Date=20260327T092814Z&X-Tos-Expires=86400&X-Tos-Signature=4c45a7e5cd9deab6608a0a088896b66ea86b978f80c22d725c5cdbdd8d48e72c&X-Tos-SignedHeaders=host', NULL, 'completed', '2026-03-27 09:27:42', '2026-03-27 09:29:10');
|
||
INSERT INTO `designs` (`id`, `user_id`, `category_id`, `sub_type_id`, `color_id`, `prompt`, `usage_scene`, `surface_finish`, `size_spec`, `motif`, `design_style`, `carving_technique`, `image_url`, `video_url`, `status`, `created_at`, `updated_at`) VALUES (26, 1, 13, NULL, 124, '形状:原石随形,自由发挥', '日常佩戴', '高光抛光', '小(约60mm)', '弥勒', '古典传统', '浮雕', '/uploads/designs/26.png', NULL, 'completed', '2026-03-27 11:50:56', '2026-03-27 11:50:56');
|
||
INSERT INTO `designs` (`id`, `user_id`, `category_id`, `sub_type_id`, `color_id`, `prompt`, `usage_scene`, `surface_finish`, `size_spec`, `motif`, `design_style`, `carving_technique`, `image_url`, `video_url`, `status`, `created_at`, `updated_at`) VALUES (27, 1, 13, NULL, 124, '形状:原石随形,自由发挥', '日常佩戴', '高光抛光', '小(约60mm)', '弥勒', '古典传统', '浮雕', 'https://ark-acg-cn-beijing.tos-cn-beijing.volces.com/doubao-seedream-5-0/0217746123473820b865ba46ab853a653f94346fa59dc1da3cf44_0.jpeg?X-Tos-Algorithm=TOS4-HMAC-SHA256&X-Tos-Credential=AKLTYWJkZTExNjA1ZDUyNDc3YzhjNTM5OGIyNjBhNDcyOTQ%2F20260327%2Fcn-beijing%2Ftos%2Frequest&X-Tos-Date=20260327T115254Z&X-Tos-Expires=86400&X-Tos-Signature=1d5da361de1e5113a0bb5d01840b388f0fd80f358ed559f28ceb3da5e75a3ee3&X-Tos-SignedHeaders=host', '/uploads/videos/6ed3f33421a44876b303c7671c1597d5.mp4', 'completed', '2026-03-27 11:52:27', '2026-03-27 16:16:40');
|
||
|
||
-- ----------------------------
|
||
-- Table: prompt_mappings
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `prompt_mappings`;
|
||
CREATE TABLE `prompt_mappings` (
|
||
`id` bigint NOT NULL AUTO_INCREMENT,
|
||
`mapping_type` varchar(50) NOT NULL COMMENT '映射类型',
|
||
`cn_key` varchar(100) NOT NULL COMMENT '中文键',
|
||
`en_value` text NOT NULL COMMENT '英文描述',
|
||
`sort_order` int DEFAULT '0' COMMENT '排序',
|
||
`updated_at` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `uk_type_key` (`mapping_type`,`cn_key`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=94 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='提示词映射';
|
||
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (1, 'category', '牌子', 'Chinese Hetian nephrite jade pendant plaque, rectangular tablet shape', 0, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (2, 'category', '珠子', 'Chinese Hetian nephrite jade bead, perfectly round sphere', 1, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (3, 'category', '手把件', 'Chinese Hetian nephrite jade hand piece (palm stone), ergonomic carved ornament for hand play', 2, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (4, 'category', '雕刻件', 'Chinese Hetian nephrite jade carving, intricate sculptural artwork', 3, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (5, 'category', '摆件', 'Chinese Hetian nephrite jade display sculpture, decorative art piece on wooden stand', 4, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (6, 'category', '手镯', 'Chinese Hetian nephrite jade bangle bracelet, smooth circular form', 5, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (7, 'category', '耳钉', 'Chinese Hetian nephrite jade stud earring, delicate small jewelry piece', 6, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (8, 'category', '耳饰', 'Chinese Hetian nephrite jade drop earring, elegant dangling jewelry', 7, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (9, 'category', '手链', 'Chinese Hetian nephrite jade bead bracelet, string of polished beads', 8, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (10, 'category', '项链', 'Chinese Hetian nephrite jade necklace, elegant pendant on chain', 9, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (11, 'category', '戒指', 'Chinese Hetian nephrite jade ring, polished jade mounted on band', 10, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (12, 'category', '表带', 'Chinese Hetian nephrite jade watch strap, segmented jade links', 11, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (13, 'color', '白玉', 'pure white nephrite jade, milky translucent, warm ivory tone', 0, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (14, 'color', '青白玉', 'celadon-white nephrite jade, pale greenish-white, subtle cool tone', 1, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (15, 'color', '青玉', 'celadon nephrite jade, muted sage green, natural earthy green', 2, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (16, 'color', '碧玉', 'deep green jasper nephrite jade, rich forest green, vivid saturated', 3, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (17, 'color', '翠青', 'emerald-tinted nephrite jade, fresh spring green with blue undertone', 4, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (18, 'color', '黄玉', 'golden yellow nephrite jade, warm honey amber, rich golden hue', 5, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (19, 'color', '糖玉', 'sugar-brown nephrite jade, warm caramel brown with reddish tint', 6, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (20, 'color', '墨玉', 'ink-black nephrite jade, deep charcoal black, mysterious dark', 7, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (21, 'color', '藕粉', 'lotus-pink nephrite jade, soft blush pink, delicate pastel rose', 8, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (22, 'color', '烟紫', 'smoky purple nephrite jade, muted lavender grey, subtle violet', 9, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (23, 'color', '糖白', 'sugar-white nephrite jade, creamy white with light brown edges', 10, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (24, 'view', '效果图', 'three-quarter view at 45-degree angle, hero shot showing the complete jade artwork with depth and dimension, single object on pure white background', 0, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (25, 'view', '正面图', 'front view, camera positioned directly in front of the object facing it straight-on, showing only the front carved surface, single object on pure white background', 1, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (26, 'view', '侧面图', 'side view, camera positioned at exactly 90 degrees to the left of the object, showing the edge profile and thickness, single object on pure white background', 2, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (27, 'view', '背面图', 'back view, camera positioned directly behind the object at 180 degrees, showing the reverse side, single object on pure white background', 3, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (28, 'carving', '浮雕', 'relief carving with raised design emerging from surface', 0, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (29, 'carving', '圆雕', 'full three-dimensional round carving, sculptural in the round', 1, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (30, 'carving', '镂空雕', 'openwork pierced carving, intricate hollow cutout patterns', 2, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (31, 'carving', '阴刻', 'intaglio engraving, incised lines carved into the surface', 3, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (32, 'carving', '线雕', 'fine line engraving, delicate linear incised pattern', 4, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (33, 'carving', '俏色雕', 'qiaose color-play carving utilizing natural jade skin color contrast', 5, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (34, 'carving', '薄意雕', 'shallow thin-relief carving, subtle and understated surface design', 6, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (35, 'carving', '素面', 'plain polished surface, smooth minimalist finish without carving', 7, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (36, 'style', '古典传统', 'classical traditional Chinese style, antique aesthetic, heritage craftsmanship', 0, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (37, 'style', '新中式', 'modern neo-Chinese style, contemporary Asian minimalism with traditional elements', 1, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (38, 'style', '写实', 'realistic naturalistic style, lifelike detailed representation', 2, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (39, 'style', '抽象意境', 'abstract artistic impression, fluid organic forms, poetic mood', 3, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (40, 'style', '极简素面', 'ultra-minimalist clean design, sleek smooth surface, zen aesthetic', 4, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (41, 'motif', '观音', 'Guanyin Bodhisattva figure, serene Buddhist deity of mercy', 0, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (42, 'motif', '弥勒', 'Maitreya laughing Buddha, jovial happy Buddha figure', 1, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (43, 'motif', '莲花', 'lotus flower motif, sacred Buddhist lotus blossom petals', 2, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (44, 'motif', '貔貅', 'Pixiu mythical beast, Chinese fortune guardian creature', 3, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (45, 'motif', '龙凤', 'dragon and phoenix motif, imperial auspicious dual creatures', 4, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (46, 'motif', '麒麟', 'Qilin mythical unicorn, auspicious Chinese legendary beast', 5, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (47, 'motif', '山水', 'Chinese mountain and water landscape, shanshui scenery', 6, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (48, 'motif', '花鸟', 'flower and bird motif, traditional Chinese nature painting theme', 7, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (49, 'motif', '人物', 'human figure motif, classical Chinese character portrayal', 8, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (50, 'motif', '回纹', 'Greek key fret pattern, Chinese meander geometric border', 9, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (51, 'motif', '如意', 'Ruyi scepter motif, auspicious cloud-head wish-granting symbol', 10, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (52, 'motif', '平安扣', 'Ping''an buckle motif, smooth circular safety and peace symbol', 11, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (53, 'finish', '高光抛光', 'high-gloss mirror polish, reflective glossy surface', 0, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (54, 'finish', '亚光/哑光', 'matte satin finish, soft non-reflective surface', 1, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (55, 'finish', '磨砂', 'frosted textured finish, fine granular surface', 2, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (56, 'finish', '保留皮色', 'natural jade skin preserved, raw russet-brown outer skin layer retained', 3, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (57, 'scene', '日常佩戴', 'designed for daily wear, comfortable and practical', 0, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (58, 'scene', '收藏鉴赏', 'museum-quality collector piece, exquisite showpiece', 1, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (59, 'scene', '送礼婚庆', 'premium gift piece, ceremonial and auspicious', 2, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (60, 'scene', '把玩文玩', 'tactile palm play piece, smooth hand-feel for meditation', 3, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (61, 'sub_type', '二五牌', '2:5 ratio rectangular plaque', 0, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (62, 'sub_type', '三角牌', 'triangular shaped pendant', 1, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (63, 'sub_type', '三五牌', '3:5 ratio rectangular plaque', 2, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (64, 'sub_type', '四六牌', '4:6 ratio rectangular plaque', 3, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (65, 'sub_type', '正方形', 'square shaped plaque', 4, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (66, 'sub_type', '椭圆形', 'oval shaped plaque', 5, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (67, 'sub_type', '平安镯', 'flat interior round exterior classic bangle', 6, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (68, 'sub_type', '福镯', 'round interior round exterior full-round bangle', 7, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (69, 'sub_type', '贵妃镯', 'oval elliptical shape bangle fitting wrist contour', 8, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (70, 'sub_type', '美人镯', 'slim delicate thin bangle, elegant refined', 9, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (71, 'sub_type', '方镯', 'square cross-section angular bangle', 10, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (72, 'sub_type', '雕花镯', 'carved decorative pattern bangle', 11, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (73, 'sub_type', '圆形耳钉', 'round circular stud', 12, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (74, 'sub_type', '水滴形耳钉', 'teardrop shaped stud', 13, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (75, 'sub_type', '方形耳钉', 'square geometric stud', 14, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (76, 'sub_type', '花朵形耳钉', 'flower blossom shaped stud', 15, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (77, 'sub_type', '心形耳钉', 'heart shaped stud', 16, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (78, 'sub_type', '几何形耳钉', 'abstract geometric stud', 17, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (79, 'sub_type', '耳环', 'hoop earring', 18, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (80, 'sub_type', '耳坠', 'drop dangle earring', 19, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (81, 'sub_type', '耳夹', 'clip-on earring', 20, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (82, 'sub_type', '流苏耳饰', 'tassel fringe long earring', 21, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (83, 'sub_type', '素面戒指', 'plain smooth surface ring', 22, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (84, 'sub_type', '镶嵌戒指', 'metal-set mounted jade ring', 23, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (85, 'sub_type', '雕花戒指', 'carved decorative ring', 24, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (86, 'sub_type', '扳指', 'traditional archer thumb ring', 25, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (87, 'sub_type', '指环', 'simple band ring', 26, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (88, 'sub_type', '锁骨链', 'short collarbone chain necklace', 27, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (89, 'sub_type', '吊坠项链', 'pendant necklace with jade drop', 28, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (90, 'sub_type', '串珠项链', 'beaded jade strand necklace', 29, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (91, 'sub_type', '编绳项链', 'braided cord necklace with jade', 30, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (92, 'sub_type', '毛衣链', 'long sweater chain necklace', 31, '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (93, 'category', '随形', 'Chinese Hetian nephrite jade freeform sculpture, organic natural shape following the raw stone contour, artistic interpretation of the original rough jade form', 12, '2026-03-27 11:38:59');
|
||
|
||
-- ----------------------------
|
||
-- Table: prompt_templates
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `prompt_templates`;
|
||
CREATE TABLE `prompt_templates` (
|
||
`id` bigint NOT NULL AUTO_INCREMENT,
|
||
`template_key` varchar(100) NOT NULL COMMENT '模板键',
|
||
`template_value` text NOT NULL COMMENT '模板内容',
|
||
`description` varchar(255) DEFAULT NULL COMMENT '说明',
|
||
`updated_at` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `template_key` (`template_key`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='提示词模板';
|
||
|
||
INSERT INTO `prompt_templates` (`id`, `template_key`, `template_value`, `description`, `updated_at`) VALUES (1, 'main_template', '{subject}, {sub_type}, {color}, {motif}, {carving}, {style}, {finish}, {scene}, {size}, {user_prompt}, {view}, {quality}', '主提示词模板 - 用变量拼接最终prompt。可用变量: {subject}品类主体, {sub_type}子类型, {color}颜色, {motif}题材, {carving}工艺, {style}风格, {finish}表面处理, {scene}用途, {size}尺寸, {user_prompt}用户描述, {view}视角, {quality}质量后缀', '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_templates` (`id`, `template_key`, `template_value`, `description`, `updated_at`) VALUES (2, 'quality_suffix', 'professional jewelry product photography, studio lighting setup, pure white background, ultra-detailed, sharp focus, 8K resolution, photorealistic rendering, high-end commercial quality', '质量后缀标签 - 附加在prompt末尾的通用质量描述', '2026-03-27 07:20:55');
|
||
INSERT INTO `prompt_templates` (`id`, `template_key`, `template_value`, `description`, `updated_at`) VALUES (3, 'default_color', 'natural Hetian nephrite jade with warm luster', '未选择颜色时的默认颜色描述', '2026-03-27 07:20:55');
|
||
|
||
-- ----------------------------
|
||
-- Table: sub_types
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `sub_types`;
|
||
CREATE TABLE `sub_types` (
|
||
`id` int NOT NULL AUTO_INCREMENT COMMENT '子类型ID',
|
||
`category_id` int NOT NULL COMMENT '所属品类',
|
||
`name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '名称',
|
||
`description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '描述',
|
||
`preview_image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '预览图',
|
||
`sort_order` int DEFAULT NULL COMMENT '排序',
|
||
PRIMARY KEY (`id`),
|
||
KEY `category_id` (`category_id`),
|
||
CONSTRAINT `sub_types_ibfk_1` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=69 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (1, 1, '二五牌', NULL, NULL, 1);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (2, 1, '三角牌', NULL, NULL, 2);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (3, 1, '三五牌', NULL, NULL, 3);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (4, 1, '四六牌', NULL, NULL, 4);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (5, 1, '正方形', NULL, NULL, 5);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (6, 1, '椭圆形', NULL, NULL, 6);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (7, 2, '4mm', NULL, NULL, 1);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (8, 2, '6mm', NULL, NULL, 2);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (9, 2, '8mm', NULL, NULL, 3);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (10, 2, '10mm', NULL, NULL, 4);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (11, 2, '12mm', NULL, NULL, 5);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (12, 2, '14mm', NULL, NULL, 6);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (13, 2, '16mm', NULL, NULL, 7);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (14, 2, '18mm', NULL, NULL, 8);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (15, 2, '20mm', NULL, NULL, 9);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (16, 3, '山水手把件', '山水意境题材', NULL, 1);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (17, 3, '动物手把件', '动物造型题材', NULL, 2);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (18, 3, '瑞兽手把件', '貔貅、麒麟等瑞兽', NULL, 3);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (19, 3, '人物手把件', '人物造型题材', NULL, 4);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (20, 3, '花鸟手把件', '花鸟自然题材', NULL, 5);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (21, 3, '佛像手把件', '佛教题材', NULL, 6);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (22, 4, '山水雕刻', '山水意境雕刻', NULL, 1);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (23, 4, '花鸟雕刻', '花鸟自然雕刻', NULL, 2);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (24, 4, '人物雕刻', '人物造型雕刻', NULL, 3);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (25, 4, '佛像雕刻', '佛教题材雕刻', NULL, 4);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (26, 4, '瑞兽雕刻', '瑞兽神兽雕刻', NULL, 5);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (27, 4, '仿古雕刻', '仿古纹饰雕刻', NULL, 6);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (28, 5, '山水摆件', '山水意境摆件', NULL, 1);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (29, 5, '人物摆件', '人物造型摆件', NULL, 2);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (30, 5, '动物摆件', '动物造型摆件', NULL, 3);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (31, 5, '佛像摆件', '佛教题材摆件', NULL, 4);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (32, 5, '花鸟摆件', '花鸟自然摆件', NULL, 5);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (33, 5, '器皿摆件', '香炉、花瓶等器皿', NULL, 6);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (34, 6, '平安镯', '内平外圆,最经典的镯型', NULL, 1);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (35, 6, '福镯', '内圆外圆,圆条造型', NULL, 2);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (36, 6, '贵妃镯', '椭圆形,贴合手腕', NULL, 3);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (37, 6, '美人镯', '条杆纤细,秀气典雅', NULL, 4);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (38, 6, '方镯', '方形截面,棱角分明', NULL, 5);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (39, 6, '雕花镯', '表面雕刻纹饰', NULL, 6);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (40, 7, '圆形耳钉', '经典圆形造型', NULL, 1);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (41, 7, '水滴形耳钉', '水滴形优雅造型', NULL, 2);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (42, 7, '方形耳钉', '方形简约造型', NULL, 3);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (43, 7, '花朵形耳钉', '花朵造型', NULL, 4);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (44, 7, '心形耳钉', '心形浪漫造型', NULL, 5);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (45, 7, '几何形耳钉', '几何抽象造型', NULL, 6);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (46, 8, '耳环', '圆环形耳饰', NULL, 1);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (47, 8, '耳坠', '垂坠型耳饰', NULL, 2);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (48, 8, '耳夹', '无需耳洞的耳饰', NULL, 3);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (49, 8, '流苏耳饰', '长款流苏造型', NULL, 4);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (50, 9, '6mm', NULL, NULL, 1);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (51, 9, '8mm', NULL, NULL, 2);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (52, 9, '10mm', NULL, NULL, 3);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (53, 9, '12mm', NULL, NULL, 4);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (54, 9, '14mm', NULL, NULL, 5);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (55, 10, '锁骨链', '短款锁骨链', NULL, 1);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (56, 10, '吊坠项链', '搭配玉石吊坠', NULL, 2);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (57, 10, '串珠项链', '玉珠串联而成', NULL, 3);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (58, 10, '编绳项链', '编织绳搭配玉石', NULL, 4);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (59, 10, '毛衣链', '长款毛衣链', NULL, 5);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (60, 11, '素面戒指', '光面简约戒指', NULL, 1);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (61, 11, '镶嵌戒指', '金属镶嵌玉石', NULL, 2);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (62, 11, '雕花戒指', '表面雕刻纹饰', NULL, 3);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (63, 11, '扳指', '传统扳指造型', NULL, 4);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (64, 11, '指环', '环形简约指环', NULL, 5);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (65, 12, '18mm', NULL, NULL, 1);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (66, 12, '20mm', NULL, NULL, 2);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (67, 12, '22mm', NULL, NULL, 3);
|
||
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (68, 12, '24mm', NULL, NULL, 4);
|
||
|
||
-- ----------------------------
|
||
-- Table: system_configs
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `system_configs`;
|
||
CREATE TABLE `system_configs` (
|
||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '配置ID',
|
||
`config_key` varchar(100) NOT NULL COMMENT '配置键',
|
||
`config_value` text COMMENT '配置值',
|
||
`description` varchar(255) DEFAULT NULL COMMENT '配置说明',
|
||
`config_group` varchar(50) NOT NULL DEFAULT 'general' COMMENT '配置分组',
|
||
`is_secret` char(1) NOT NULL DEFAULT 'N' COMMENT '是否敏感信息(Y/N)',
|
||
`updated_at` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `config_key` (`config_key`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='系统配置表';
|
||
|
||
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (1, 'SILICONFLOW_API_KEY', 'sk-gvszgchguyhhpevafchnimpljasvtuxxuoxeilhiqzlhyvpq', 'SiliconFlow API Key', 'ai', 'Y', '2026-03-27 07:43:07');
|
||
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (2, 'SILICONFLOW_BASE_URL', 'https://api.siliconflow.cn/v1', 'SiliconFlow 接口地址', 'ai', 'N', '2026-03-27 07:09:05');
|
||
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (3, 'VOLCENGINE_API_KEY', '8598f9a9-0d0b-4963-b116-d7ef5b230e04', '火山引擎 API Key', 'ai', 'Y', '2026-03-27 08:13:23');
|
||
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (4, 'VOLCENGINE_BASE_URL', 'https://ark.cn-beijing.volces.com/api/v3', '火山引擎接口地址', 'ai', 'N', '2026-03-27 07:09:05');
|
||
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (5, 'AI_IMAGE_MODEL', 'seedream-5.0', '默认AI生图模型 (flux-dev / seedream-4.5)', 'ai', 'N', '2026-03-27 08:20:02');
|
||
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (6, 'AI_IMAGE_SIZE', '1024', 'AI生图默认尺寸', 'ai', 'N', '2026-03-27 07:09:05');
|
||
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (7, 'TRIPO_API_KEY', '', 'Tripo3D API Key (用于图生3D模型)', 'ai', 'Y', '2026-03-27 12:20:57');
|
||
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (8, 'VOLC_ACCESS_KEY', 'AKLTOGI4NTIxNTJkZGUzNGUwMmJjMTdmYTcwOTE4ZDE0MDg', '火山引擎 Access Key (用于即梦视频生成)', 'ai', 'Y', '2026-03-27 12:53:19');
|
||
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (9, 'VOLC_SECRET_KEY', 'TlRJMFpEZG1OMk0wWW1aak5ERTRNamcxT1dKbU5UazNPR00yWXpGbE1tSQ==', '火山引擎 Secret Key (用于即梦视频生成)', 'ai', 'Y', '2026-03-27 12:53:19');
|
||
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (10, 'VIDEO_PROMPT', '玉雕作品在摄影棚内缓慢旋转360度展示全貌,专业珠宝摄影灯光,纯白色背景,平稳旋转,展示正面、侧面、背面各个角度,电影级画质', '视频生成默认提示词 (即梦 3.0 Pro 图生视频)', 'ai', 'N', '2026-03-27 13:45:55');
|
||
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (11, 'MODEL3D_PROMPT', '', '3D模型生成默认提示词 (Tripo3D备用)', 'ai', 'N', '2026-03-27 12:55:39');
|
||
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (12, 'VIDEO_FRAMES', '121', '视频帧数: 49=2秒, 121=5秒', 'ai', 'N', '2026-03-27 13:02:32');
|
||
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (13, 'TENCENT_SECRET_ID', 'AKID31oQoyyqVwCl7FALL8h9OQHxvhGfrrdB', NULL, 'general', 'N', '2026-03-27 14:26:02');
|
||
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (14, 'TENCENT_SECRET_KEY', 'QeeR1Umqh9QULyWrzwiHeqrhLoAJF5Wn', NULL, 'general', 'N', '2026-03-27 14:26:02');
|
||
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (15, 'KLING_ACCESS_KEY', 'Anra4QJQLD9hhbNdpMmypHKhYpta4HYJ', NULL, 'general', 'N', '2026-03-27 16:08:09');
|
||
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (16, 'KLING_SECRET_KEY', 'pkLQffCMC4epEb38PkRArBdd4Jg8C3hL', NULL, 'general', 'N', '2026-03-27 16:08:09');
|
||
|
||
-- ----------------------------
|
||
-- Table: users
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `users`;
|
||
CREATE TABLE `users` (
|
||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '用户ID',
|
||
`username` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '用户名',
|
||
`phone` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '手机号',
|
||
`hashed_password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '加密密码',
|
||
`nickname` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '昵称',
|
||
`avatar` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '头像URL',
|
||
`is_admin` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否管理员',
|
||
`created_at` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||
`updated_at` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `username` (`username`),
|
||
UNIQUE KEY `phone` (`phone`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
|
||
INSERT INTO `users` (`id`, `username`, `phone`, `hashed_password`, `nickname`, `avatar`, `is_admin`, `created_at`, `updated_at`) VALUES (1, 'demo', NULL, '$2b$12$bHrcm45CwD0wbQVZIQxOmuZcx/B/MEbGYFTGpPawinDkDWI.jilY2', '演示用户', NULL, 1, '2026-03-27 04:20:30', '2026-03-27 04:20:30');
|
||
INSERT INTO `users` (`id`, `username`, `phone`, `hashed_password`, `nickname`, `avatar`, `is_admin`, `created_at`, `updated_at`) VALUES (2, 'test1', NULL, '$2b$12$BG5/I4CVswjNWhfdIP9kJeVqbqLEcWkRq8ioxdpwON7eitL.lSVMW', '测试用户', NULL, 0, '2026-03-27 04:21:36', '2026-03-27 04:21:36');
|
||
|
||
SET FOREIGN_KEY_CHECKS = 1;
|