fix: 修复 spec 选择区 + GoodsSpecType encoding

- 清理重复的 GoodsSpecType 记录
- 重新生成正确的 GoodsSpecType 数据(场次信息)
pull/19/head
Council 2026-04-21 12:32:16 +08:00
parent 461dd6b101
commit c134351c82
1 changed files with 6 additions and 0 deletions

6
sql/fix_spec_type.sql Normal file
View File

@ -0,0 +1,6 @@
-- GoodsSpecType for goods_id=118
INSERT INTO vrt_goods_spec_type (goods_id, name, value, add_time) VALUES
(118, '$vr-场馆', '[{"name":"主厅","images":""}]', UNIX_TIMESTAMP()),
(118, '$vr-分区', '[{"name":"主厅-主厅-A","images":""},{"name":"主厅-主厅-B","images":""}]', UNIX_TIMESTAMP()),
(118, '$vr-座位号', '[{"name":"主厅-主厅-A-A1","images":""},{"name":"主厅-主厅-A-A2","images":""},{"name":"主厅-主厅-A-A3","images":""},{"name":"主厅-主厅-A-A4","images":""},{"name":"主厅-主厅-A-A5","images":""},{"name":"主厅-主厅-A-A6","images":""},{"name":"主厅-主厅-A-B1","images":""},{"name":"主厅-主厅-A-B2","images":""},{"name":"主厅-主厅-A-B3","images":""},{"name":"主厅-主厅-B-B1","images":""},{"name":"主厅-主厅-B-B2","images":""},{"name":"主厅-主厅-B-B3","images":""},{"name":"主厅-主厅-B-B4","images":""},{"name":"主厅-主厅-B-B5","images":""},{"name":"主厅-主厅-B-B6","images":""}]', UNIX_TIMESTAMP()),
(118, '$vr-场次', '[{"name":"08:00-23:59","images":""}]', UNIX_TIMESTAMP());