add: 打包脚本

This commit is contained in:
TsMask
2024-03-19 16:46:48 +08:00
parent 93754d1c1d
commit 2c6c3ab756
360 changed files with 39437 additions and 62 deletions

View File

@@ -0,0 +1,40 @@
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for sys_config
-- ----------------------------
CREATE TABLE IF NOT EXISTS `sys_config` (
`config_id` int NOT NULL AUTO_INCREMENT COMMENT '参数主键',
`config_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '参数名称',
`config_key` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '参数键名',
`config_value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '参数键值',
`config_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT 'N' COMMENT '系统内置Y是 N否',
`create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
`create_time` bigint DEFAULT '0' COMMENT '创建时间',
`update_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
`update_time` bigint DEFAULT '0' COMMENT '更新时间',
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`config_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=111 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='参数配置表';
-- 参数配置
INSERT IGNORE INTO `sys_config` VALUES (1, 'config.sys.user.initPassword', 'sys.user.initPassword', 'Abcd@1234..', 'Y', 'supervisor', 1700000000000, NULL, 0, 'config.sys.user.initPasswordRemark');
INSERT IGNORE INTO `sys_config` VALUES (2, 'config.sys.account.captchaEnabled', 'sys.account.captchaEnabled', 'false', 'Y', 'supervisor', 1700000000000, NULL, 0, 'config.sys.account.captchaEnabledRemark');
INSERT IGNORE INTO `sys_config` VALUES (3, 'config.sys.account.registerUser', 'sys.account.registerUser', 'false', 'Y', 'supervisor', 1700000000000, NULL, 0, 'config.sys.account.registerUserRemark');
INSERT IGNORE INTO `sys_config` VALUES (4, 'config.sys.user.maxRetryCount', 'sys.user.maxRetryCount', '5', 'Y', 'supervisor', 1700000000000, NULL, 0, 'config.sys.user.maxRetryCountRemark');
INSERT IGNORE INTO `sys_config` VALUES (5, 'config.sys.user.lockTime', 'sys.user.lockTime', '10', 'Y', 'supervisor', 1700000000000, NULL, 0, 'config.sys.user.lockTimeRemark');
INSERT IGNORE INTO `sys_config` VALUES (6, 'config.sys.officialUrl', 'sys.officialUrl', 'https://www.agrandtech.com', 'Y', 'supervisor', 1698110000000, 'admin', 1700809804330, 'config.sys.officialUrlRemark');
INSERT IGNORE INTO `sys_config` VALUES (7, 'config.sys.helpDoc', 'sys.helpDoc', '/static/helpDoc/{language}_doc.pdf', 'Y', 'supervisor', 1700000000000, NULL, 0, 'config.sys.helpDocRemark');
INSERT IGNORE INTO `sys_config` VALUES (8, 'sys.account.captchaType', 'sys.account.captchaType', 'math', 'Y', 'supervisor', 1705410000000, NULL, 0, 'sys.account.captchaTypeRemark');
INSERT IGNORE INTO `sys_config` VALUES (10, 'config.monitor.sysResource.storeDays', 'monitor.sysResource.storeDays', '30', 'Y', 'supervisor', 1700000000000, NULL, 0, 'config.monitor.sysResource.storeDaysRemark');
INSERT IGNORE INTO `sys_config` VALUES (102, 'config.sys.logo.type', 'sys.logo.type', 'icon', 'Y', 'supervisor', 1700000000000, NULL, 0, 'config.sys.logo.typeRemark');
INSERT IGNORE INTO `sys_config` VALUES (103, 'config.sys.logo.filePathIcon', 'sys.logo.filePathIcon', '/static/logo/{language}_icon.png', 'Y', 'supervisor', 1700000000000, NULL, 0, 'config.sys.logo.filePathIconRemark');
INSERT IGNORE INTO `sys_config` VALUES (104, 'config.sys.logo.filePathBrand', 'sys.logo.filePathBrand', '/static/logo/{language}_brand.png', 'Y', 'supervisor', 1700000000000, NULL, 0, 'config.sys.logo.filePathBrandRemark');
INSERT IGNORE INTO `sys_config` VALUES (105, 'config.sys.loginBackground', 'sys.loginBackground', '#', 'Y', 'supervisor', 1700000000000, NULL, 0, 'config.sys.loginBackgroundRemark');
INSERT IGNORE INTO `sys_config` VALUES (106, 'config.sys.title', 'sys.title', 'config.sys.titleValue', 'Y', 'supervisor', 1698110000000, NULL, 0, 'config.sys.titleRemark');
INSERT IGNORE INTO `sys_config` VALUES (107, 'config.sys.copyright', 'sys.copyright', 'config.sys.copyrightValue', 'Y', 'supervisor', 1698110000000, NULL, 0, 'config.sys.copyrightRemark');
INSERT IGNORE INTO `sys_config` VALUES (108, 'config.sys.i18nOpen', 'sys.i18n.open', 'false', 'Y', 'supervisor', 1698110000000, NULL, 0, 'config.sys.i18nOpenRemark');
INSERT IGNORE INTO `sys_config` VALUES (109, 'Internationalization Default Language', 'sys.i18n.default', 'en_US', 'Y', 'supervisor', 1698110000000, 'supervisor', 1702632906566, 'config.sys.i18nDefaultRemark');
INSERT IGNORE INTO `sys_config` VALUES (110, 'config.sys.lockTime', 'sys.lockTime', '0', 'Y', 'supervisor', 1704960008300, 'admin', 1706838764703, 'config.sys.lockTimeRemark');
SET FOREIGN_KEY_CHECKS=1;