feat: Add database migration for packages table, backend configuration, and frontend dependency lock files.

This commit is contained in:
wood911010 committed 2026-02-15 11:12:02 +08:00
1 parent c9ced7dc2a
commit dec473a62a
3 files changed
+869 -851

No files matched your search

@@ -30,7 +30,7 @@ CREATE TABLE packages (
-- 插入初始数据
INSERT INTO packages (id, name, type, price, price_description, duration_description, description, features, status, sort_order, created_at, updated_at) VALUES
(UUID(), '试用版', 'trial', 0, '免费', '当月25日到期', '免费体验全部功能', '["全部功能", "1个许可"]', 1, 1, NOW(), NOW()),
(UUID(), '基础版', 'basic', 300, '300元/许可', '永久有效', '小型企业最佳选择', '["基础功能", "批量许可购买"]', 1, 2, NOW(), NOW()),
(UUID(), '专业版', 'professional', 2000, '2000元/许可', '永久有效', '企业级完整解决方案', '["全部功能", "技术支持", "数据分析"]', 1, 3, NOW(), NOW()),
(UUID(), '企业定制版', 'custom', 0, '定制报价', '按需定制', '按需定制解决方案', '["按需定制", "专属服务"]', 1, 4, NOW(), NOW());
("DEMO-TRIAL", '试用版', 'trial', 0, '免费', '当月25日到期', '免费体验全部功能', '["全部功能", "1个许可"]', 1, 1, NOW(), NOW()),
("DEMO-BASIC", '基础版', 'basic', 300, '300元/许可', '永久有效', '小型企业最佳选择', '["基础功能", "批量许可购买"]', 1, 2, NOW(), NOW()),
("DEMO-PRO", '专业版', 'professional', 2000, '2000元/许可', '永久有效', '企业级完整解决方案', '["全部功能", "技术支持", "数据分析"]', 1, 3, NOW(), NOW()),
("DEMO-CUSTOM", '企业定制版', 'custom', 0, '定制报价', '按需定制', '按需定制解决方案', '["按需定制", "专属服务"]', 1, 4, NOW(), NOW());
+10
View File
@@ -9,6 +9,7 @@
"version": "1.0.0",
"dependencies": {
"@element-plus/icons-vue": "^2.3.2",
"@fontsource/noto-sans-sc": "^5.2.9",
"axios": "^1.7.0",
"echarts": "^5.6.0",
"element-plus": "^2.10.5",
@@ -603,6 +604,15 @@
"integrity": "sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==",
"license": "MIT"
},
"node_modules/@fontsource/noto-sans-sc": {
"version": "5.2.9",
"resolved": "https://registry.npmjs.org/@fontsource/noto-sans-sc/-/noto-sans-sc-5.2.9.tgz",
"integrity": "sha512-bTUIWGBgJDpwi5qAr+x0/lcgv80IHTB9vl6s2f6EymZEa7qYV99yNRBZuKFT+SYDKVunZrjCEhWtpxqmbXWl5Q==",
"license": "OFL-1.1",
"funding": {
"url": "https://github.com/sponsors/ayuhito"
}
},
"node_modules/@humanwhocodes/config-array": {
"version": "0.13.0",
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz",
+855 -847
View File
File diff suppressed because it is too large. Load diff