23 lines
1.8 KiB
SQL
23 lines
1.8 KiB
SQL
-- ============================================
|
|
-- 礼物测试数据
|
|
-- ============================================
|
|
|
|
-- 清空现有数据(可选)
|
|
-- DELETE FROM eb_gift;
|
|
|
|
-- 插入礼物测试数据
|
|
INSERT INTO eb_gift (name, image, diamond_price, intimacy, status, is_heartbeat, buy_type, belong, remark, effect_version, effect_url) VALUES
|
|
('玫瑰花', 'https://example.com/gifts/rose.png', 10.00, 10, 1, 0, 'diamond', 'common', '浪漫玫瑰', 'v1.0', ''),
|
|
('爱心', 'https://example.com/gifts/heart.png', 20.00, 20, 1, 1, 'diamond', 'common', '心动礼物', 'v1.0', ''),
|
|
('火箭', 'https://example.com/gifts/rocket.png', 100.00, 100, 1, 0, 'diamond', 'live', '直播间专属', 'v2.0', 'https://example.com/effects/rocket.json'),
|
|
('皇冠', 'https://example.com/gifts/crown.png', 500.00, 500, 1, 1, 'diamond', 'common', '尊贵皇冠', 'v2.0', 'https://example.com/effects/crown.json'),
|
|
('跑车', 'https://example.com/gifts/car.png', 1000.00, 1000, 1, 0, 'diamond', 'live', '豪华跑车', 'v2.0', 'https://example.com/effects/car.json'),
|
|
('城堡', 'https://example.com/gifts/castle.png', 5000.00, 5000, 1, 1, 'diamond', 'common', '梦幻城堡', 'v3.0', 'https://example.com/effects/castle.json'),
|
|
('棒棒糖', 'https://example.com/gifts/lollipop.png', 5.00, 5, 1, 0, 'diamond', 'chat', '甜蜜棒棒糖', 'v1.0', ''),
|
|
('啤酒', 'https://example.com/gifts/beer.png', 15.00, 15, 1, 0, 'diamond', 'common', '干杯', 'v1.0', ''),
|
|
('蛋糕', 'https://example.com/gifts/cake.png', 50.00, 50, 1, 0, 'diamond', 'common', '生日蛋糕', 'v1.0', ''),
|
|
('钻戒', 'https://example.com/gifts/ring.png', 2000.00, 2000, 1, 1, 'diamond', 'common', '真爱钻戒', 'v2.0', 'https://example.com/effects/ring.json');
|
|
|
|
-- 查看插入结果
|
|
SELECT id, name, diamond_price, intimacy, status, is_heartbeat, buy_type, belong FROM eb_gift;
|