-- MySQL dump 10.13  Distrib 8.0.42, for Win64 (x86_64)
--
-- Host: 192.168.48.129    Database: storm-config
-- ------------------------------------------------------
-- Server version	5.7.44

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `config_info`
--

USE `storm-config`;

DROP TABLE IF EXISTS `config_info`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `config_info` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `data_id` varchar(255) COLLATE utf8_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(128) COLLATE utf8_bin DEFAULT NULL COMMENT 'group_id',
  `content` longtext COLLATE utf8_bin NOT NULL COMMENT 'content',
  `md5` varchar(32) COLLATE utf8_bin DEFAULT NULL COMMENT 'md5',
  `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
  `src_user` text COLLATE utf8_bin COMMENT 'source user',
  `src_ip` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT 'source ip',
  `app_name` varchar(128) COLLATE utf8_bin DEFAULT NULL COMMENT 'app_name',
  `tenant_id` varchar(128) COLLATE utf8_bin DEFAULT '' COMMENT '租户字段',
  `c_desc` varchar(256) COLLATE utf8_bin DEFAULT NULL COMMENT 'configuration description',
  `c_use` varchar(64) COLLATE utf8_bin DEFAULT NULL COMMENT 'configuration usage',
  `effect` varchar(64) COLLATE utf8_bin DEFAULT NULL COMMENT '配置生效的描述',
  `type` varchar(64) COLLATE utf8_bin DEFAULT NULL COMMENT '配置的类型',
  `c_schema` text COLLATE utf8_bin COMMENT '配置的模式',
  `encrypted_data_key` varchar(1024) COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT '密钥',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_configinfo_datagrouptenant` (`data_id`,`group_id`,`tenant_id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='config_info';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `config_info`
--

LOCK TABLES `config_info` WRITE;
/*!40000 ALTER TABLE `config_info` DISABLE KEYS */;
INSERT INTO `config_info` VALUES (1,'application-dev.yml','DEFAULT_GROUP','spring:\n  autoconfigure:\n    exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n\n# feign 配置\nfeign:\n  sentinel:\n    enabled: true\n  okhttp:\n    enabled: true\n  httpclient:\n    enabled: false\n  client:\n    config:\n      default:\n        connectTimeout: 10000\n        readTimeout: 10000\n  compression:\n    request:\n      enabled: true\n      min-request-size: 8192\n    response:\n      enabled: true\n\n# 暴露监控端点\nmanagement:\n  endpoints:\n    web:\n      exposure:\n        include: \'*\'\n','9928f41dfb10386ad38b3254af5692e0','2020-05-20 12:00:00','2024-08-29 12:14:45','nacos','0:0:0:0:0:0:0:1','','','通用配置','null','null','yaml','',''),(2,'storm-gateway-dev.yml','DEFAULT_GROUP','spring:\n  redis:\n    host: storm-redis\n    port: 6379\n    password: [REDACTED]  cloud:\n    gateway:\n      discovery:\n        locator:\n          lowerCaseServiceId: true\n          enabled: true\n      routes:\n        # 认证中心\n        - id: storm-auth\n          uri: lb://storm-auth\n          predicates:\n            - Path=/auth/**\n          filters:\n            # 验证码处理\n            - CacheRequestBody\n            - ValidateCodeFilter\n            - StripPrefix=1\n        # 代码生成\n        - id: storm-gen\n          uri: lb://storm-gen\n          predicates:\n            - Path=/code/**\n          filters:\n            - StripPrefix=1\n        # 定时任务\n        - id: storm-job\n          uri: lb://storm-job\n          predicates:\n            - Path=/schedule/**\n          filters:\n            - StripPrefix=1\n        # 系统模块\n        - id: storm-system\n          uri: lb://storm-system\n          predicates:\n            - Path=/system/**\n          filters:\n            - StripPrefix=1\n        # 文件服务\n        - id: storm-file\n          uri: lb://storm-file\n          predicates:\n            - Path=/file/**\n          filters:\n            - StripPrefix=1\n        #设备管理\n        - id: storm-device\n          uri: lb://storm-device\n          predicates:\n            - Path=/device/**\n          filters:\n            - StripPrefix=1\n\n# 安全配置\nsecurity:\n  # 验证码\n  captcha:\n    enabled: true\n    type: math\n  # 防止XSS攻击\n  xss:\n    enabled: true\n    excludeUrls:\n      - /system/notice\n\n  # 不校验白名单\n  ignore:\n    whites:\n      - /auth/logout\n      - /auth/login\n      - /auth/register\n      - /*/v2/api-docs\n      - /*/v3/api-docs\n      - /csrf\n\n# springdoc配置\nspringdoc:\n  webjars:\n    # 访问前缀\n    prefix:\n# knife4j配置\nknife4j:\n  enable: true  # 启用Knife4j\n  gateway:\n    enabled: true  # 启用网关聚合功能\n    strategy: discover  # 使用服务发现模式进行聚合\n    discover:\n      enabled: true  # 启用服务发现\n      version: openapi3  # 指定OpenAPI版本，与你使用的规范一致\n      all-services: true  # 聚合所有服务\n      group-name: default  # 默认分组名称','0837a3c65c0c2216f75951bb02095ff5','2020-05-14 14:17:55','2025-09-03 12:29:11','nacos','192.168.48.1','','','网关模块','null','null','yaml','',''),(3,'storm-auth-dev.yml','DEFAULT_GROUP','spring:\n  redis:\n    host: storm-redis\n    port: 6379\n    password: [REDACTED] 00:00:00','2025-09-03 12:29:38','nacos','192.168.48.1','','','认证中心','null','null','yaml','',''),(4,'storm-monitor-dev.yml','DEFAULT_GROUP','# spring\nspring:\n  security:\n    user:\n      name: storm\n      password: [REDACTED]  boot:\n    admin:\n      ui:\n        title: 具身风暴服务状态监控\n','6f122fd2bfb8d45f858e7d6529a9cd44','2020-11-20 00:00:00','2024-08-29 12:15:11','nacos','0:0:0:0:0:0:0:1','','','监控中心','null','null','yaml','',''),(5,'storm-system-dev.yml','DEFAULT_GROUP','# spring配置\nspring:\n  redis:\n    host: storm-redis\n    port: 6379\n    password: [REDACTED]  datasource:\n    druid:\n      stat-view-servlet:\n        enabled: true\n        loginUsername: storm\n        loginPassword: [REDACTED]    dynamic:\n      druid:\n        initial-size: 5\n        min-idle: 5\n        maxActive: 20\n        maxWait: 60000\n        connectTimeout: 30000\n        socketTimeout: 60000\n        timeBetweenEvictionRunsMillis: 60000\n        minEvictableIdleTimeMillis: 300000\n        validationQuery: SELECT 1 FROM DUAL\n        testWhileIdle: true\n        testOnBorrow: false\n        testOnReturn: false\n        poolPreparedStatements: true\n        maxPoolPreparedStatementPerConnectionSize: 20\n        filters: stat,slf4j\n        connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n      datasource:\n          # 主库数据源\n          master:\n            driver-class-name: com.mysql.cj.jdbc.Driver\n            url: jdbc:mysql://storm-mysql:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n            username: root\n            password: [REDACTED]          # 从库数据源\n          # slave:\n            # username: \n            # password: [REDACTED]            # url: \n            # driver-class-name: \n\n# springdoc配置\n#springdoc:\n#  gatewayUrl: http://localhost:8080/${spring.application.name}\n#  api-docs:\n    # 是否开启接口文档\n#    enabled: true\n#  info:\n    # 标题\n#    title: \'系统模块接口文档\'\n    # 描述\n#    description: \'系统模块接口描述\'\n    # 作者信息\n#    contact:\n#      name: storm\n#      url: https://storm.vip\n# knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    gatewayUrl: http://localhost:8080/${spring.application.name}\n    package-path: com.storm.system.controller\n    title: 具身风暴 - 系统模块接口文档\n    description: 该服务包含系统配置有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0\n# 添加SpringDoc基本配置\nspringdoc:\n  api-docs:\n    path: /v3/api-docs\n    enabled: true\n  swagger-ui:\n    path: /swagger-ui.html','dd261eb4c0c11f82cd9156897690f945','2020-11-20 00:00:00','2025-09-03 12:30:53','nacos','192.168.48.1','','','系统模块','null','null','yaml','',''),(6,'storm-gen-dev.yml','DEFAULT_GROUP','# spring配置\nspring:\n  redis:\n    host: storm-redis\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://storm-mysql:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    gatewayUrl: http://localhost:8080/${spring.application.name}\n    package-path: com.storm.gen.controller\n    title: 具身风暴 - 代码生成接口文档\n    description: 该服务包含代码生成有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0\n# 添加SpringDoc基本配置\nspringdoc:\n  api-docs:\n    path: /v3/api-docs\n    enabled: true\n  swagger-ui:\n    path: /swagger-ui.html\n\n# 代码生成\ngen:\n  # 作者\n  author: storm\n  # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n  packageName: com.storm.system\n  # 自动去除表前缀，默认是false\n  autoRemovePre: false\n  # 表前缀（生成类名不会包含表前缀，多个用逗号分隔）\n  tablePrefix: sys_\n  # 是否允许生成文件覆盖到本地（自定义路径），默认不允许\n  allowOverwrite: false','8f89b0bc11a538d015fbe824fbc39372','2020-11-20 00:00:00','2025-09-03 12:31:38','nacos','192.168.48.1','','','代码生成','null','null','yaml','',''),(7,'storm-job-dev.yml','DEFAULT_GROUP','# spring配置\nspring:\n  redis:\n    host: storm-redis\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://storm-mysql:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    gatewayUrl: http://localhost:8080/${spring.application.name}\n    package-path: com.storm.job.controller\n    title: 具身风暴 - 定时任务接口文档\n    description: 该服务包含定时任务有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0\n# 添加SpringDoc基本配置\nspringdoc:\n  api-docs:\n    path: /v3/api-docs\n    enabled: true\n  swagger-ui:\n    path: /swagger-ui.html','86b30a714748a626caccbfa797660797','2020-11-20 00:00:00','2025-09-03 12:32:18','nacos','192.168.48.1','','','定时任务','null','null','yaml','',''),(8,'storm-file-dev.yml','DEFAULT_GROUP','# 本地文件上传    \nfile:\n    domain: http://127.0.0.1:9300\n    path: D:/storm/uploadPath\n    prefix: /statics\n\n# FastDFS配置\nfdfs:\n  domain: http://8.129.231.12\n  soTimeout: 3000\n  connectTimeout: 2000\n  trackerList: 8.129.231.12:22122\n\n# Minio配置\nminio:\n  url: http://8.129.231.12:9000\n  accessKey: minioadmin\n  secretKey: minioadmin\n  bucketName: test\n# 华为云obs\nstorm:\n  huaweiobs:\n    ENDPOINT: \"obs.cn-south-1.myhuaweicloud.com\"\n    CLOUD_SDK_AK: \"OD4WEG0X1TYXQUSLM5LM\"\n    CLOUD_SDK_SK: \"QQTf5rBpvdnq1qf1OEj0VFHinFQIqW7vPN0N8vpN\"\n    bucketName: \"robotstorm-app\"','5439696a0662c2ab4cf42081ed0798b5','2020-11-20 00:00:00','2025-08-25 08:34:17','nacos','192.168.48.1','','','文件服务','null','null','yaml','',''),(9,'sentinel-storm-gateway','DEFAULT_GROUP','[\r\n    {\r\n        \"resource\": \"storm-auth\",\r\n        \"count\": 500,\r\n        \"grade\": 1,\r\n        \"limitApp\": \"default\",\r\n        \"strategy\": 0,\r\n        \"controlBehavior\": 0\r\n    },\r\n	{\r\n        \"resource\": \"storm-system\",\r\n        \"count\": 1000,\r\n        \"grade\": 1,\r\n        \"limitApp\": \"default\",\r\n        \"strategy\": 0,\r\n        \"controlBehavior\": 0\r\n    },\r\n	{\r\n        \"resource\": \"storm-gen\",\r\n        \"count\": 200,\r\n        \"grade\": 1,\r\n        \"limitApp\": \"default\",\r\n        \"strategy\": 0,\r\n        \"controlBehavior\": 0\r\n    },\r\n	{\r\n        \"resource\": \"storm-job\",\r\n        \"count\": 300,\r\n        \"grade\": 1,\r\n        \"limitApp\": \"default\",\r\n        \"strategy\": 0,\r\n        \"controlBehavior\": 0\r\n    }\r\n]','9f3a3069261598f74220bc47958ec252','2020-11-20 00:00:00','2020-11-20 00:00:00',NULL,'0:0:0:0:0:0:0:1','','','限流策略','null','null','json',NULL,''),(10,'storm-device-dev.yml','DEFAULT_GROUP','# spring配置\nspring:\n  redis:\n    host: storm-redis\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://storm-mysql:3306/storm-device?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    gatewayUrl: http://localhost:8080/${spring.application.name}\n    package-path: com.storm.device.controller\n    title: 具身风暴 - 设备管理接口文档\n    description: 该服务包含设备有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0\n\n# 添加SpringDoc基本配置\nspringdoc:\n  api-docs:\n    path: /v3/api-docs\n    enabled: true\n  swagger-ui:\n    path: /swagger-ui.html\n','87c3c7a5f2c446ee97be7a52e98672ee','2025-08-22 09:52:28','2025-09-03 12:33:00','nacos','192.168.48.1','','','','','','yaml','','');
/*!40000 ALTER TABLE `config_info` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `config_info_aggr`
--

DROP TABLE IF EXISTS `config_info_aggr`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `config_info_aggr` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `data_id` varchar(255) COLLATE utf8_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(255) COLLATE utf8_bin NOT NULL COMMENT 'group_id',
  `datum_id` varchar(255) COLLATE utf8_bin NOT NULL COMMENT 'datum_id',
  `content` longtext COLLATE utf8_bin NOT NULL COMMENT '内容',
  `gmt_modified` datetime NOT NULL COMMENT '修改时间',
  `app_name` varchar(128) COLLATE utf8_bin DEFAULT NULL,
  `tenant_id` varchar(128) COLLATE utf8_bin DEFAULT '' COMMENT '租户字段',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_configinfoaggr_datagrouptenantdatum` (`data_id`,`group_id`,`tenant_id`,`datum_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='增加租户字段';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `config_info_aggr`
--

LOCK TABLES `config_info_aggr` WRITE;
/*!40000 ALTER TABLE `config_info_aggr` DISABLE KEYS */;
/*!40000 ALTER TABLE `config_info_aggr` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `config_info_beta`
--

DROP TABLE IF EXISTS `config_info_beta`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `config_info_beta` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `data_id` varchar(255) COLLATE utf8_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(128) COLLATE utf8_bin NOT NULL COMMENT 'group_id',
  `app_name` varchar(128) COLLATE utf8_bin DEFAULT NULL COMMENT 'app_name',
  `content` longtext COLLATE utf8_bin NOT NULL COMMENT 'content',
  `beta_ips` varchar(1024) COLLATE utf8_bin DEFAULT NULL COMMENT 'betaIps',
  `md5` varchar(32) COLLATE utf8_bin DEFAULT NULL COMMENT 'md5',
  `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
  `src_user` text COLLATE utf8_bin COMMENT 'source user',
  `src_ip` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT 'source ip',
  `tenant_id` varchar(128) COLLATE utf8_bin DEFAULT '' COMMENT '租户字段',
  `encrypted_data_key` varchar(1024) COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT '密钥',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_configinfobeta_datagrouptenant` (`data_id`,`group_id`,`tenant_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='config_info_beta';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `config_info_beta`
--

LOCK TABLES `config_info_beta` WRITE;
/*!40000 ALTER TABLE `config_info_beta` DISABLE KEYS */;
/*!40000 ALTER TABLE `config_info_beta` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `config_info_gray`
--

DROP TABLE IF EXISTS `config_info_gray`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `config_info_gray` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `data_id` varchar(255) NOT NULL COMMENT 'data_id',
  `group_id` varchar(128) NOT NULL COMMENT 'group_id',
  `content` longtext NOT NULL COMMENT 'content',
  `md5` varchar(32) DEFAULT NULL COMMENT 'md5',
  `src_user` text COMMENT 'src_user',
  `src_ip` varchar(100) DEFAULT NULL COMMENT 'src_ip',
  `gmt_create` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) COMMENT 'gmt_create',
  `gmt_modified` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) COMMENT 'gmt_modified',
  `app_name` varchar(128) DEFAULT NULL COMMENT 'app_name',
  `tenant_id` varchar(128) DEFAULT '' COMMENT 'tenant_id',
  `gray_name` varchar(128) NOT NULL COMMENT 'gray_name',
  `gray_rule` text NOT NULL COMMENT 'gray_rule',
  `encrypted_data_key` varchar(256) NOT NULL DEFAULT '' COMMENT 'encrypted_data_key',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_configinfogray_datagrouptenantgray` (`data_id`,`group_id`,`tenant_id`,`gray_name`),
  KEY `idx_dataid_gmt_modified` (`data_id`,`gmt_modified`),
  KEY `idx_gmt_modified` (`gmt_modified`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='config_info_gray';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `config_info_gray`
--

LOCK TABLES `config_info_gray` WRITE;
/*!40000 ALTER TABLE `config_info_gray` DISABLE KEYS */;
/*!40000 ALTER TABLE `config_info_gray` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `config_info_tag`
--

DROP TABLE IF EXISTS `config_info_tag`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `config_info_tag` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `data_id` varchar(255) COLLATE utf8_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(128) COLLATE utf8_bin NOT NULL COMMENT 'group_id',
  `tenant_id` varchar(128) COLLATE utf8_bin DEFAULT '' COMMENT 'tenant_id',
  `tag_id` varchar(128) COLLATE utf8_bin NOT NULL COMMENT 'tag_id',
  `app_name` varchar(128) COLLATE utf8_bin DEFAULT NULL COMMENT 'app_name',
  `content` longtext COLLATE utf8_bin NOT NULL COMMENT 'content',
  `md5` varchar(32) COLLATE utf8_bin DEFAULT NULL COMMENT 'md5',
  `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
  `src_user` text COLLATE utf8_bin COMMENT 'source user',
  `src_ip` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT 'source ip',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_configinfotag_datagrouptenanttag` (`data_id`,`group_id`,`tenant_id`,`tag_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='config_info_tag';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `config_info_tag`
--

LOCK TABLES `config_info_tag` WRITE;
/*!40000 ALTER TABLE `config_info_tag` DISABLE KEYS */;
/*!40000 ALTER TABLE `config_info_tag` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `config_tags_relation`
--

DROP TABLE IF EXISTS `config_tags_relation`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `config_tags_relation` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `tag_name` varchar(128) COLLATE utf8_bin NOT NULL COMMENT 'tag_name',
  `tag_type` varchar(64) COLLATE utf8_bin DEFAULT NULL COMMENT 'tag_type',
  `data_id` varchar(255) COLLATE utf8_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(128) COLLATE utf8_bin NOT NULL COMMENT 'group_id',
  `tenant_id` varchar(128) COLLATE utf8_bin DEFAULT '' COMMENT 'tenant_id',
  `nid` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'nid, 自增长标识',
  PRIMARY KEY (`nid`),
  UNIQUE KEY `uk_configtagrelation_configidtag` (`id`,`tag_name`,`tag_type`),
  KEY `idx_tenant_id` (`tenant_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='config_tag_relation';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `config_tags_relation`
--

LOCK TABLES `config_tags_relation` WRITE;
/*!40000 ALTER TABLE `config_tags_relation` DISABLE KEYS */;
/*!40000 ALTER TABLE `config_tags_relation` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `group_capacity`
--

DROP TABLE IF EXISTS `group_capacity`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `group_capacity` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `group_id` varchar(128) COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT 'Group ID，空字符表示整个集群',
  `quota` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '配额，0表示使用默认值',
  `usage` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '使用量',
  `max_size` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '单个配置大小上限，单位为字节，0表示使用默认值',
  `max_aggr_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '聚合子配置最大个数，，0表示使用默认值',
  `max_aggr_size` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '单个聚合数据的子配置大小上限，单位为字节，0表示使用默认值',
  `max_history_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '最大变更历史数量',
  `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_group_id` (`group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='集群、各Group容量信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `group_capacity`
--

LOCK TABLES `group_capacity` WRITE;
/*!40000 ALTER TABLE `group_capacity` DISABLE KEYS */;
/*!40000 ALTER TABLE `group_capacity` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `his_config_info`
--

DROP TABLE IF EXISTS `his_config_info`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `his_config_info` (
  `id` bigint(20) unsigned NOT NULL COMMENT 'id',
  `nid` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'nid, 自增标识',
  `data_id` varchar(255) COLLATE utf8_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(128) COLLATE utf8_bin NOT NULL COMMENT 'group_id',
  `app_name` varchar(128) COLLATE utf8_bin DEFAULT NULL COMMENT 'app_name',
  `content` longtext COLLATE utf8_bin NOT NULL COMMENT 'content',
  `md5` varchar(32) COLLATE utf8_bin DEFAULT NULL COMMENT 'md5',
  `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
  `src_user` text COLLATE utf8_bin COMMENT 'source user',
  `src_ip` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT 'source ip',
  `op_type` char(10) COLLATE utf8_bin DEFAULT NULL COMMENT 'operation type',
  `tenant_id` varchar(128) COLLATE utf8_bin DEFAULT '' COMMENT '租户字段',
  `encrypted_data_key` varchar(1024) COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT '密钥',
  `publish_type` varchar(50) COLLATE utf8_bin DEFAULT 'formal' COMMENT 'publish type gray or formal',
  `gray_name` varchar(50) COLLATE utf8_bin DEFAULT NULL COMMENT 'gray name',
  `ext_info` longtext COLLATE utf8_bin COMMENT 'ext info',
  PRIMARY KEY (`nid`),
  KEY `idx_gmt_create` (`gmt_create`),
  KEY `idx_gmt_modified` (`gmt_modified`),
  KEY `idx_did` (`data_id`)
) ENGINE=InnoDB AUTO_INCREMENT=42 DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='多租户改造';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `his_config_info`
--

LOCK TABLES `his_config_info` WRITE;
/*!40000 ALTER TABLE `his_config_info` DISABLE KEYS */;
INSERT INTO `his_config_info` VALUES (2,1,'storm-gateway-dev.yml','DEFAULT_GROUP','','spring:\n  redis:\n    host: storm-redis\n    port: 6379\n    password: [REDACTED]  cloud:\n    gateway:\n      discovery:\n        locator:\n          lowerCaseServiceId: true\n          enabled: true\n      routes:\n        # 认证中心\n        - id: storm-auth\n          uri: lb://storm-auth\n          predicates:\n            - Path=/auth/**\n          filters:\n            # 验证码处理\n            - CacheRequestBody\n            - ValidateCodeFilter\n            - StripPrefix=1\n        # 代码生成\n        - id: storm-gen\n          uri: lb://storm-gen\n          predicates:\n            - Path=/code/**\n          filters:\n            - StripPrefix=1\n        # 定时任务\n        - id: storm-job\n          uri: lb://storm-job\n          predicates:\n            - Path=/schedule/**\n          filters:\n            - StripPrefix=1\n        # 系统模块\n        - id: storm-system\n          uri: lb://storm-system\n          predicates:\n            - Path=/system/**\n          filters:\n            - StripPrefix=1\n        # 文件服务\n        - id: storm-file\n          uri: lb://storm-file\n          predicates:\n            - Path=/file/**\n          filters:\n            - StripPrefix=1\n\n# 安全配置\nsecurity:\n  # 验证码\n  captcha:\n    enabled: true\n    type: math\n  # 防止XSS攻击\n  xss:\n    enabled: true\n    excludeUrls:\n      - /system/notice\n\n  # 不校验白名单\n  ignore:\n    whites:\n      - /auth/logout\n      - /auth/login\n      - /auth/register\n      - /*/v2/api-docs\n      - /*/v3/api-docs\n      - /csrf\n\n# springdoc配置\nspringdoc:\n  webjars:\n    # 访问前缀\n    prefix:\n','5af70e741c0c90d5afe12ca4a116150e','2025-08-20 19:05:12','2025-08-20 11:05:12','nacos','192.168.48.1','U','','','formal',NULL,NULL),(2,2,'storm-gateway-dev.yml','DEFAULT_GROUP','','spring:\n  redis:\n    host: storm-redis\n    port: 6379\n    password: [REDACTED]  cloud:\n    gateway:\n      discovery:\n        locator:\n          lowerCaseServiceId: true\n          enabled: true\n      routes:\n        # 认证中心\n        - id: storm-auth\n          uri: lb://storm-auth\n          predicates:\n            - Path=/auth/**\n          filters:\n            # 验证码处理\n            - CacheRequestBody\n            - ValidateCodeFilter\n            - StripPrefix=1\n        # 代码生成\n        - id: storm-gen\n          uri: lb://storm-gen\n          predicates:\n            - Path=/code/**\n          filters:\n            - StripPrefix=1\n        # 定时任务\n        - id: storm-job\n          uri: lb://storm-job\n          predicates:\n            - Path=/schedule/**\n          filters:\n            - StripPrefix=1\n        # 系统模块\n        - id: storm-system\n          uri: lb://storm-system\n          predicates:\n            - Path=/system/**\n          filters:\n            - StripPrefix=1\n        # 文件服务\n        - id: storm-file\n          uri: lb://storm-file\n          predicates:\n            - Path=/file/**\n          filters:\n            - StripPrefix=1\n\n# 安全配置\nsecurity:\n  # 验证码\n  captcha:\n    enabled: true\n    type: math\n  # 防止XSS攻击\n  xss:\n    enabled: true\n    excludeUrls:\n      - /system/notice\n\n  # 不校验白名单\n  ignore:\n    whites:\n      - /auth/logout\n      - /auth/login\n      - /auth/register\n      - /*/v2/api-docs\n      - /*/v3/api-docs\n      - /csrf\n\n# springdoc配置\nspringdoc:\n  webjars:\n    # 访问前缀\n    prefix:\n','5af70e741c0c90d5afe12ca4a116150e','2025-08-21 09:56:01','2025-08-21 01:56:02','nacos','192.168.48.1','U','','','formal',NULL,NULL),(3,3,'storm-auth-dev.yml','DEFAULT_GROUP','','spring:\n  redis:\n    host: storm-redis\n    port: 6379\n    password: [REDACTED] 09:56:18','2025-08-21 01:56:18','nacos','192.168.48.1','U','','','formal',NULL,NULL),(5,4,'storm-system-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: storm-redis\n    port: 6379\n    password: [REDACTED]  datasource:\n    druid:\n      stat-view-servlet:\n        enabled: true\n        loginUsername: storm\n        loginPassword: [REDACTED]    dynamic:\n      druid:\n        initial-size: 5\n        min-idle: 5\n        maxActive: 20\n        maxWait: 60000\n        connectTimeout: 30000\n        socketTimeout: 60000\n        timeBetweenEvictionRunsMillis: 60000\n        minEvictableIdleTimeMillis: 300000\n        validationQuery: SELECT 1 FROM DUAL\n        testWhileIdle: true\n        testOnBorrow: false\n        testOnReturn: false\n        poolPreparedStatements: true\n        maxPoolPreparedStatementPerConnectionSize: 20\n        filters: stat,slf4j\n        connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n      datasource:\n          # 主库数据源\n          master:\n            driver-class-name: com.mysql.cj.jdbc.Driver\n            url: jdbc:mysql://storm-mysql:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n            username: root\n            password: [REDACTED]          # 从库数据源\n          # slave:\n            # username: \n            # password: [REDACTED]            # url: \n            # driver-class-name: \n\n# mybatis配置\nmybatis:\n    # 搜索指定包别名\n    typeAliasesPackage: com.storm.system\n    # 配置mapper的扫描，找到所有的mapper.xml映射文件\n    mapperLocations: classpath:mapper/**/*.xml\n\n# springdoc配置\nspringdoc:\n  gatewayUrl: http://localhost:8080/${spring.application.name}\n  api-docs:\n    # 是否开启接口文档\n    enabled: true\n  info:\n    # 标题\n    title: \'系统模块接口文档\'\n    # 描述\n    description: \'系统模块接口描述\'\n    # 作者信息\n    contact:\n      name: storm\n      url: https://storm.vip\n','c21b79298a7cce85085960a7de58e207','2025-08-21 09:57:02','2025-08-21 01:57:02','nacos','192.168.48.1','U','','','formal',NULL,NULL),(6,5,'storm-gen-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: storm-redis\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://storm-mysql:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] mybatis配置\nmybatis:\n    # 搜索指定包别名\n    typeAliasesPackage: com.storm.gen.domain\n    # 配置mapper的扫描，找到所有的mapper.xml映射文件\n    mapperLocations: classpath:mapper/**/*.xml\n\n# springdoc配置\nspringdoc:\n  gatewayUrl: http://localhost:8080/${spring.application.name}\n  api-docs:\n    # 是否开启接口文档\n    enabled: true\n  info:\n    # 标题\n    title: \'代码生成接口文档\'\n    # 描述\n    description: \'代码生成接口描述\'\n    # 作者信息\n    contact:\n      name: storm\n      url: https://storm.vip\n\n# 代码生成\ngen:\n  # 作者\n  author: storm\n  # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n  packageName: com.storm.system\n  # 自动去除表前缀，默认是false\n  autoRemovePre: false\n  # 表前缀（生成类名不会包含表前缀，多个用逗号分隔）\n  tablePrefix: sys_\n  # 是否允许生成文件覆盖到本地（自定义路径），默认不允许\n  allowOverwrite: false','0b2e7aa209e8e02a2cbfa3ca4e50b754','2025-08-21 09:57:21','2025-08-21 01:57:22','nacos','192.168.48.1','U','','','formal',NULL,NULL),(7,6,'storm-job-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: storm-redis\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://storm-mysql:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] mybatis配置\nmybatis:\n    # 搜索指定包别名\n    typeAliasesPackage: com.storm.job.domain\n    # 配置mapper的扫描，找到所有的mapper.xml映射文件\n    mapperLocations: classpath:mapper/**/*.xml\n\n# springdoc配置\nspringdoc:\n  gatewayUrl: http://localhost:8080/${spring.application.name}\n  api-docs:\n    # 是否开启接口文档\n    enabled: true\n  info:\n    # 标题\n    title: \'定时任务接口文档\'\n    # 描述\n    description: \'定时任务接口描述\'\n    # 作者信息\n    contact:\n      name: storm\n      url: https://storm.vip\n','e0b99c1387748bb547a54d4cb913bd90','2025-08-21 09:57:40','2025-08-21 01:57:41','nacos','192.168.48.1','U','','','formal',NULL,NULL),(6,7,'storm-gen-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] mybatis配置\nmybatis:\n    # 搜索指定包别名\n    typeAliasesPackage: com.storm.gen.domain\n    # 配置mapper的扫描，找到所有的mapper.xml映射文件\n    mapperLocations: classpath:mapper/**/*.xml\n\n# springdoc配置\nspringdoc:\n  gatewayUrl: http://localhost:8080/${spring.application.name}\n  api-docs:\n    # 是否开启接口文档\n    enabled: true\n  info:\n    # 标题\n    title: \'代码生成接口文档\'\n    # 描述\n    description: \'代码生成接口描述\'\n    # 作者信息\n    contact:\n      name: storm\n      url: https://storm.vip\n\n# 代码生成\ngen:\n  # 作者\n  author: storm\n  # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n  packageName: com.storm.system\n  # 自动去除表前缀，默认是false\n  autoRemovePre: false\n  # 表前缀（生成类名不会包含表前缀，多个用逗号分隔）\n  tablePrefix: sys_\n  # 是否允许生成文件覆盖到本地（自定义路径），默认不允许\n  allowOverwrite: false','b027bd40a28ad159204586894c6c8227','2025-08-22 13:57:23','2025-08-22 05:57:23','nacos','192.168.48.1','U','','','formal',NULL,NULL),(6,8,'storm-gen-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] mybatis-plus配置\nmybatis-plus:\n    # 搜索指定包别名\n    typeAliasesPackage: com.storm.gen.domain\n    # 配置mapper的扫描，找到所有的mapper.xml映射文件\n    mapperLocations: classpath:mapper/**/*Mapper.xml\n    # 全局配置\n    global-config:\n      db-config:\n        id-type: auto   #id生成策略为自增\n    configuration: \n      map-underscore-to-camel-case: true    #字段与属性，自动转换为驼峰命名\n\n# springdoc配置\nspringdoc:\n  gatewayUrl: http://localhost:8080/${spring.application.name}\n  api-docs:\n    # 是否开启接口文档\n    enabled: true\n  info:\n    # 标题\n    title: \'代码生成接口文档\'\n    # 描述\n    description: \'代码生成接口描述\'\n    # 作者信息\n    contact:\n      name: storm\n      url: https://storm.vip\n\n# 代码生成\ngen:\n  # 作者\n  author: storm\n  # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n  packageName: com.storm.system\n  # 自动去除表前缀，默认是false\n  autoRemovePre: false\n  # 表前缀（生成类名不会包含表前缀，多个用逗号分隔）\n  tablePrefix: sys_\n  # 是否允许生成文件覆盖到本地（自定义路径），默认不允许\n  allowOverwrite: false','d4552a61b987aefb66e4f0023cd5e3ef','2025-08-22 14:06:34','2025-08-22 06:06:34','nacos','192.168.48.1','U','','','formal',NULL,NULL),(7,9,'storm-job-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] mybatis配置\nmybatis:\n    # 搜索指定包别名\n    typeAliasesPackage: com.storm.job.domain\n    # 配置mapper的扫描，找到所有的mapper.xml映射文件\n    mapperLocations: classpath:mapper/**/*.xml\n\n# springdoc配置\nspringdoc:\n  gatewayUrl: http://localhost:8080/${spring.application.name}\n  api-docs:\n    # 是否开启接口文档\n    enabled: true\n  info:\n    # 标题\n    title: \'定时任务接口文档\'\n    # 描述\n    description: \'定时任务接口描述\'\n    # 作者信息\n    contact:\n      name: storm\n      url: https://storm.vip\n','a30949fad7c05e0f51e38f12eda88541','2025-08-22 14:09:18','2025-08-22 06:09:18','nacos','192.168.48.1','U','','','formal',NULL,NULL),(5,10,'storm-system-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    druid:\n      stat-view-servlet:\n        enabled: true\n        loginUsername: storm\n        loginPassword: [REDACTED]    dynamic:\n      druid:\n        initial-size: 5\n        min-idle: 5\n        maxActive: 20\n        maxWait: 60000\n        connectTimeout: 30000\n        socketTimeout: 60000\n        timeBetweenEvictionRunsMillis: 60000\n        minEvictableIdleTimeMillis: 300000\n        validationQuery: SELECT 1 FROM DUAL\n        testWhileIdle: true\n        testOnBorrow: false\n        testOnReturn: false\n        poolPreparedStatements: true\n        maxPoolPreparedStatementPerConnectionSize: 20\n        filters: stat,slf4j\n        connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n      datasource:\n          # 主库数据源\n          master:\n            driver-class-name: com.mysql.cj.jdbc.Driver\n            url: jdbc:mysql://192.168.48.128:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n            username: root\n            password: [REDACTED]          # 从库数据源\n          # slave:\n            # username: \n            # password: [REDACTED]            # url: \n            # driver-class-name: \n\n# mybatis配置\nmybatis:\n    # 搜索指定包别名\n    typeAliasesPackage: com.storm.system\n    # 配置mapper的扫描，找到所有的mapper.xml映射文件\n    mapperLocations: classpath:mapper/**/*.xml\n\n# springdoc配置\nspringdoc:\n  gatewayUrl: http://localhost:8080/${spring.application.name}\n  api-docs:\n    # 是否开启接口文档\n    enabled: true\n  info:\n    # 标题\n    title: \'系统模块接口文档\'\n    # 描述\n    description: \'系统模块接口描述\'\n    # 作者信息\n    contact:\n      name: storm\n      url: https://storm.vip\n','ab71e1848e51f9dcf7ef1b32dceb1424','2025-08-22 14:10:49','2025-08-22 06:10:50','nacos','192.168.48.1','U','','','formal',NULL,NULL),(0,11,'storm-device-dev.yml','DEFAULT_GROUP','','# MyBatisPlus配置\r\nmybatis-plus:\r\n  # 搜索指定包别名\r\n  typeAliasesPackage: com.storm.**.domain\r\n  # 配置mapper的扫描，找到所有的mapper.xml映射文件\r\n  mapperLocations: classpath*:mapper/**/*Mapper.xml\r\n  # 全局配置\r\n  global-config:\r\n    db-config:\r\n      id-type: auto   #id生成策略为自增\r\n  configuration:\r\n    map-underscore-to-camel-case: true    #字段与属性，自动转换为驼峰命名','8010a968db18b919e7362adf1adc5975','2025-08-22 17:52:28','2025-08-22 09:52:28','nacos','192.168.48.1','I','','','formal',NULL,NULL),(10,12,'storm-device-dev.yml','DEFAULT_GROUP','','# MyBatisPlus配置\r\nmybatis-plus:\r\n  # 搜索指定包别名\r\n  typeAliasesPackage: com.storm.**.domain\r\n  # 配置mapper的扫描，找到所有的mapper.xml映射文件\r\n  mapperLocations: classpath*:mapper/**/*Mapper.xml\r\n  # 全局配置\r\n  global-config:\r\n    db-config:\r\n      id-type: auto   #id生成策略为自增\r\n  configuration:\r\n    map-underscore-to-camel-case: true    #字段与属性，自动转换为驼峰命名','8010a968db18b919e7362adf1adc5975','2025-08-22 17:55:03','2025-08-22 09:55:04','nacos','192.168.48.1','U','','','formal',NULL,NULL),(2,13,'storm-gateway-dev.yml','DEFAULT_GROUP','','spring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  cloud:\n    gateway:\n      discovery:\n        locator:\n          lowerCaseServiceId: true\n          enabled: true\n      routes:\n        # 认证中心\n        - id: storm-auth\n          uri: lb://storm-auth\n          predicates:\n            - Path=/auth/**\n          filters:\n            # 验证码处理\n            - CacheRequestBody\n            - ValidateCodeFilter\n            - StripPrefix=1\n        # 代码生成\n        - id: storm-gen\n          uri: lb://storm-gen\n          predicates:\n            - Path=/code/**\n          filters:\n            - StripPrefix=1\n        # 定时任务\n        - id: storm-job\n          uri: lb://storm-job\n          predicates:\n            - Path=/schedule/**\n          filters:\n            - StripPrefix=1\n        # 系统模块\n        - id: storm-system\n          uri: lb://storm-system\n          predicates:\n            - Path=/system/**\n          filters:\n            - StripPrefix=1\n        # 文件服务\n        - id: storm-file\n          uri: lb://storm-file\n          predicates:\n            - Path=/file/**\n          filters:\n            - StripPrefix=1\n\n# 安全配置\nsecurity:\n  # 验证码\n  captcha:\n    enabled: true\n    type: math\n  # 防止XSS攻击\n  xss:\n    enabled: true\n    excludeUrls:\n      - /system/notice\n\n  # 不校验白名单\n  ignore:\n    whites:\n      - /auth/logout\n      - /auth/login\n      - /auth/register\n      - /*/v2/api-docs\n      - /*/v3/api-docs\n      - /csrf\n\n# springdoc配置\nspringdoc:\n  webjars:\n    # 访问前缀\n    prefix:\n','0103e3155fa174e3f4f1eebbcbda1eb3','2025-08-22 19:04:54','2025-08-22 11:04:54','nacos','192.168.48.1','U','','','formal',NULL,NULL),(8,14,'storm-file-dev.yml','DEFAULT_GROUP','','# 本地文件上传    \r\nfile:\r\n    domain: http://127.0.0.1:9300\r\n    path: D:/storm/uploadPath\r\n    prefix: /statics\r\n\r\n# FastDFS配置\r\nfdfs:\r\n  domain: http://8.129.231.12\r\n  soTimeout: 3000\r\n  connectTimeout: 2000\r\n  trackerList: 8.129.231.12:22122\r\n\r\n# Minio配置\r\nminio:\r\n  url: http://8.129.231.12:9000\r\n  accessKey: minioadmin\r\n  secretKey: minioadmin\r\n  bucketName: test','c26c0e6757a2e312f2c9621f1e36b6b0','2025-08-25 16:34:17','2025-08-25 08:34:17','nacos','192.168.48.1','U','','','formal',NULL,NULL),(5,15,'storm-system-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    druid:\n      stat-view-servlet:\n        enabled: true\n        loginUsername: storm\n        loginPassword: [REDACTED]    dynamic:\n      druid:\n        initial-size: 5\n        min-idle: 5\n        maxActive: 20\n        maxWait: 60000\n        connectTimeout: 30000\n        socketTimeout: 60000\n        timeBetweenEvictionRunsMillis: 60000\n        minEvictableIdleTimeMillis: 300000\n        validationQuery: SELECT 1 FROM DUAL\n        testWhileIdle: true\n        testOnBorrow: false\n        testOnReturn: false\n        poolPreparedStatements: true\n        maxPoolPreparedStatementPerConnectionSize: 20\n        filters: stat,slf4j\n        connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n      datasource:\n          # 主库数据源\n          master:\n            driver-class-name: com.mysql.cj.jdbc.Driver\n            url: jdbc:mysql://192.168.48.128:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n            username: root\n            password: [REDACTED]          # 从库数据源\n          # slave:\n            # username: \n            # password: [REDACTED]            # url: \n            # driver-class-name: \n\n# springdoc配置\nspringdoc:\n  gatewayUrl: http://localhost:8080/${spring.application.name}\n  api-docs:\n    # 是否开启接口文档\n    enabled: true\n  info:\n    # 标题\n    title: \'系统模块接口文档\'\n    # 描述\n    description: \'系统模块接口描述\'\n    # 作者信息\n    contact:\n      name: storm\n      url: https://storm.vip\n','ba6bea10e9e88ebaebe3216819d54bf2','2025-08-26 11:15:01','2025-08-26 03:15:01','nacos','192.168.48.1','U','','','formal',NULL,NULL),(6,16,'storm-gen-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] springdoc配置\nspringdoc:\n  gatewayUrl: http://localhost:8080/${spring.application.name}\n  api-docs:\n    # 是否开启接口文档\n    enabled: true\n  info:\n    # 标题\n    title: \'代码生成接口文档\'\n    # 描述\n    description: \'代码生成接口描述\'\n    # 作者信息\n    contact:\n      name: storm\n      url: https://storm.vip\n\n# 代码生成\ngen:\n  # 作者\n  author: storm\n  # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n  packageName: com.storm.system\n  # 自动去除表前缀，默认是false\n  autoRemovePre: false\n  # 表前缀（生成类名不会包含表前缀，多个用逗号分隔）\n  tablePrefix: sys_\n  # 是否允许生成文件覆盖到本地（自定义路径），默认不允许\n  allowOverwrite: false','3cdfe7ab0fde63b063e932e57048bb20','2025-08-26 11:16:19','2025-08-26 03:16:20','nacos','192.168.48.1','U','','','formal',NULL,NULL),(7,17,'storm-job-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] springdoc配置\nspringdoc:\n  gatewayUrl: http://localhost:8080/${spring.application.name}\n  api-docs:\n    # 是否开启接口文档\n    enabled: true\n  info:\n    # 标题\n    title: \'定时任务接口文档\'\n    # 描述\n    description: \'定时任务接口描述\'\n    # 作者信息\n    contact:\n      name: storm\n      url: https://storm.vip\n','a8fc8ba80070c0a11c4c97fa43bc8bf4','2025-08-26 11:17:33','2025-08-26 03:17:34','nacos','192.168.48.1','U','','','formal',NULL,NULL),(10,18,'storm-device-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm-device?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] springdoc配置\nspringdoc:\n  gatewayUrl: http://localhost:8080/${spring.application.name}\n  api-docs:\n    # 是否开启接口文档\n    enabled: true\n  info:\n    # 标题\n    title: \'设备管理接口文档\'\n    # 描述\n    description: \'设备管理接口描述\'\n    # 作者信息\n    contact:\n      name: storm\n      url: https://storm.vip\n','97c788f0bcef89a7c2efd1f7f01f72f3','2025-08-26 11:18:48','2025-08-26 03:18:49','nacos','192.168.48.1','U','','','formal',NULL,NULL),(5,19,'storm-system-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    druid:\n      stat-view-servlet:\n        enabled: true\n        loginUsername: storm\n        loginPassword: [REDACTED]    dynamic:\n      druid:\n        initial-size: 5\n        min-idle: 5\n        maxActive: 20\n        maxWait: 60000\n        connectTimeout: 30000\n        socketTimeout: 60000\n        timeBetweenEvictionRunsMillis: 60000\n        minEvictableIdleTimeMillis: 300000\n        validationQuery: SELECT 1 FROM DUAL\n        testWhileIdle: true\n        testOnBorrow: false\n        testOnReturn: false\n        poolPreparedStatements: true\n        maxPoolPreparedStatementPerConnectionSize: 20\n        filters: stat,slf4j\n        connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n      datasource:\n          # 主库数据源\n          master:\n            driver-class-name: com.mysql.cj.jdbc.Driver\n            url: jdbc:mysql://192.168.48.128:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n            username: root\n            password: [REDACTED]          # 从库数据源\n          # slave:\n            # username: \n            # password: [REDACTED]            # url: \n            # driver-class-name: \n\n# springdoc配置\n#springdoc:\n#  gatewayUrl: http://localhost:8080/${spring.application.name}\n#  api-docs:\n    # 是否开启接口文档\n#    enabled: true\n#  info:\n    # 标题\n#    title: \'系统模块接口文档\'\n    # 描述\n#    description: \'系统模块接口描述\'\n    # 作者信息\n#    contact:\n#      name: storm\n#      url: https://storm.vip\n# knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    package-path: com.storm.system.controller\n    title: 具身风暴 - 系统模块接口文档\n    description: 该服务包含系统配置有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0','f92b2ee13de4d11d01e6262af180e08f','2025-08-26 14:00:43','2025-08-26 06:00:43','nacos','192.168.48.1','U','','','formal',NULL,NULL),(6,20,'storm-gen-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    package-path: com.storm.gen.controller\n    title: 具身风暴 - 代码生成接口文档\n    description: 该服务包含代码生成有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0\n\n# 代码生成\ngen:\n  # 作者\n  author: storm\n  # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n  packageName: com.storm.system\n  # 自动去除表前缀，默认是false\n  autoRemovePre: false\n  # 表前缀（生成类名不会包含表前缀，多个用逗号分隔）\n  tablePrefix: sys_\n  # 是否允许生成文件覆盖到本地（自定义路径），默认不允许\n  allowOverwrite: false','8b697ef4f3abc28e7017733be470a1d7','2025-08-26 14:01:28','2025-08-26 06:01:28','nacos','192.168.48.1','U','','','formal',NULL,NULL),(7,21,'storm-job-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    package-path: com.storm.job.controller\n    title: 具身风暴 - 定时任务接口文档\n    description: 该服务包含定时任务有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0','d13c9b19a1cf2991667f264c54be1cfb','2025-08-26 14:01:39','2025-08-26 06:01:40','nacos','192.168.48.1','U','','','formal',NULL,NULL),(10,22,'storm-device-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm-device?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    package-path: com.storm.device.controller\n    title: 具身风暴 - 设备管理接口文档\n    description: 该服务包含设备有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0','c5e538466ede452873c58e058f3a4d49','2025-08-26 14:02:01','2025-08-26 06:02:01','nacos','192.168.48.1','U','','','formal',NULL,NULL),(2,23,'storm-gateway-dev.yml','DEFAULT_GROUP','','spring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  cloud:\n    gateway:\n      discovery:\n        locator:\n          lowerCaseServiceId: true\n          enabled: true\n      routes:\n        # 认证中心\n        - id: storm-auth\n          uri: lb://storm-auth\n          predicates:\n            - Path=/auth/**\n          filters:\n            # 验证码处理\n            - CacheRequestBody\n            - ValidateCodeFilter\n            - StripPrefix=1\n        # 代码生成\n        - id: storm-gen\n          uri: lb://storm-gen\n          predicates:\n            - Path=/code/**\n          filters:\n            - StripPrefix=1\n        # 定时任务\n        - id: storm-job\n          uri: lb://storm-job\n          predicates:\n            - Path=/schedule/**\n          filters:\n            - StripPrefix=1\n        # 系统模块\n        - id: storm-system\n          uri: lb://storm-system\n          predicates:\n            - Path=/system/**\n          filters:\n            - StripPrefix=1\n        # 文件服务\n        - id: storm-file\n          uri: lb://storm-file\n          predicates:\n            - Path=/file/**\n          filters:\n            - StripPrefix=1\n        #设备管理\n        - id: storm-device\n          uri: lb://storm-device\n          predicates:\n            - Path=/device/**\n          filters:\n            - StripPrefix=1\n\n# 安全配置\nsecurity:\n  # 验证码\n  captcha:\n    enabled: true\n    type: math\n  # 防止XSS攻击\n  xss:\n    enabled: true\n    excludeUrls:\n      - /system/notice\n\n  # 不校验白名单\n  ignore:\n    whites:\n      - /auth/logout\n      - /auth/login\n      - /auth/register\n      - /*/v2/api-docs\n      - /*/v3/api-docs\n      - /csrf\n\n# springdoc配置\nspringdoc:\n  webjars:\n    # 访问前缀\n    prefix:\n','0d8dd843213ec7c4dd635fbb794cf785','2025-08-26 14:41:46','2025-08-26 06:41:46','nacos','192.168.48.1','U','','','formal',NULL,NULL),(10,24,'storm-device-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm-device?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    gatewayUrl: http://localhost:8080/${spring.application.name}\n    package-path: com.storm.device.controller\n    title: 具身风暴 - 设备管理接口文档\n    description: 该服务包含设备有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0','40d0723bd05691feca71985c5bb3fe22','2025-08-26 15:09:37','2025-08-26 07:09:37','nacos','192.168.48.1','U','','','formal',NULL,NULL),(10,25,'storm-device-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm-device?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    gatewayUrl: http://localhost:8080/${spring.application.name}\n    package-path: com.storm.device.controller\n    title: 具身风暴 - 设备管理接口文档\n    description: 该服务包含设备有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0\n# 添加SpringDoc基本配置\nspringdoc:\n  api-docs:\n    path: /v3/api-docs\n    enabled: true\n  swagger-ui:\n    path: /swagger-ui.html\n    enabled: false  # 禁用默认的Swagger UI，使用Knife4j的UI','f7df913dc40d5e6e8d9c96e4d39cac51','2025-08-26 16:09:19','2025-08-26 08:09:19','nacos','192.168.48.1','U','','','formal',NULL,NULL),(10,26,'storm-device-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm-device?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    gatewayUrl: http://localhost:8080/${spring.application.name}\n#    package-path: com.storm.device.controller\n    title: 具身风暴 - 设备管理接口文档\n    description: 该服务包含设备有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0\n# 添加SpringDoc基本配置\nspringdoc:\n  api-docs:\n    path: /v3/api-docs\n    enabled: true\n  swagger-ui:\n    path: /swagger-ui.html\n    enabled: false  # 禁用默认的Swagger UI，使用Knife4j的UI\n  group-configs:\n    - group: \'default\'\n      paths-to-match: \'/**\'\n      packages-to-scan: \n        - com.storm.device.controller','539ba97226dc0ba4e96a4d783231f28a','2025-08-26 16:17:30','2025-08-26 08:17:31','nacos','192.168.48.1','U','','','formal',NULL,NULL),(10,27,'storm-device-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm-device?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    gatewayUrl: http://localhost:8080/${spring.application.name}\n#    package-path: com.storm.device.controller\n    title: 具身风暴 - 设备管理接口文档\n    description: 该服务包含设备有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0\n# 添加SpringDoc基本配置\nspringdoc:\n  api-docs:\n    path: /v3/api-docs\n    enabled: true\n  swagger-ui:\n    path: /swagger-ui.html\n    enabled: false  # 禁用默认的Swagger UI，使用Knife4j的UI\n  group-configs:\n    - group: \'default\'\n      paths-to-match: \'/**\'\n      packages-to-scan: \n        - com.storm.device.controller','539ba97226dc0ba4e96a4d783231f28a','2025-08-26 16:24:27','2025-08-26 08:24:27','nacos','192.168.48.1','U','','','formal',NULL,NULL),(10,28,'storm-device-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm-device?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    gatewayUrl: http://localhost:8080/${spring.application.name}\n#    package-path: com.storm.device.controller\n    title: 具身风暴 - 设备管理接口文档\n    description: 该服务包含设备有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0\n# 添加SpringDoc基本配置\nspringdoc:\n  api-docs:\n    path: /v3/api-docs\n    enabled: true\n  swagger-ui:\n    path: /swagger-ui.html\n    enabled: false  # 禁用默认的Swagger UI，使用Knife4j的UI\n    config-url: /v3/api-docs/default','[REDACTED]','2025-08-26 16:26:54','2025-08-26 08:26:55','nacos','192.168.48.1','U','','','formal',NULL,NULL),(10,29,'storm-device-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm-device?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    gatewayUrl: http://localhost:8080/${spring.application.name}\n#    package-path: com.storm.device.controller\n    title: 具身风暴 - 设备管理接口文档\n    description: 该服务包含设备有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0\n# 添加SpringDoc基本配置\nspringdoc:\n  api-docs:\n    path: /v3/api-docs\n    enabled: true\n  swagger-ui:\n    path: /swagger-ui.html','6eff4dbd509a0f95269c30b8ef2901be','2025-08-26 16:31:43','2025-08-26 08:31:44','nacos','192.168.48.1','U','','','formal',NULL,NULL),(5,30,'storm-system-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    druid:\n      stat-view-servlet:\n        enabled: true\n        loginUsername: storm\n        loginPassword: [REDACTED]    dynamic:\n      druid:\n        initial-size: 5\n        min-idle: 5\n        maxActive: 20\n        maxWait: 60000\n        connectTimeout: 30000\n        socketTimeout: 60000\n        timeBetweenEvictionRunsMillis: 60000\n        minEvictableIdleTimeMillis: 300000\n        validationQuery: SELECT 1 FROM DUAL\n        testWhileIdle: true\n        testOnBorrow: false\n        testOnReturn: false\n        poolPreparedStatements: true\n        maxPoolPreparedStatementPerConnectionSize: 20\n        filters: stat,slf4j\n        connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n      datasource:\n          # 主库数据源\n          master:\n            driver-class-name: com.mysql.cj.jdbc.Driver\n            url: jdbc:mysql://192.168.48.128:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n            username: root\n            password: [REDACTED]          # 从库数据源\n          # slave:\n            # username: \n            # password: [REDACTED]            # url: \n            # driver-class-name: \n\n# springdoc配置\n#springdoc:\n#  gatewayUrl: http://localhost:8080/${spring.application.name}\n#  api-docs:\n    # 是否开启接口文档\n#    enabled: true\n#  info:\n    # 标题\n#    title: \'系统模块接口文档\'\n    # 描述\n#    description: \'系统模块接口描述\'\n    # 作者信息\n#    contact:\n#      name: storm\n#      url: https://storm.vip\n# knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    gatewayUrl: http://localhost:8080/${spring.application.name}\n    package-path: com.storm.system.controller\n    title: 具身风暴 - 系统模块接口文档\n    description: 该服务包含系统配置有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0','73b3f9d3c2526078b12e00e1b12908b8','2025-08-26 16:36:24','2025-08-26 08:36:25','nacos','192.168.48.1','U','','','formal',NULL,NULL),(6,31,'storm-gen-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    gatewayUrl: http://localhost:8080/${spring.application.name}\n    package-path: com.storm.gen.controller\n    title: 具身风暴 - 代码生成接口文档\n    description: 该服务包含代码生成有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0\n\n# 代码生成\ngen:\n  # 作者\n  author: storm\n  # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n  packageName: com.storm.system\n  # 自动去除表前缀，默认是false\n  autoRemovePre: false\n  # 表前缀（生成类名不会包含表前缀，多个用逗号分隔）\n  tablePrefix: sys_\n  # 是否允许生成文件覆盖到本地（自定义路径），默认不允许\n  allowOverwrite: false','ba27c925836b36128ec691767631af19','2025-08-26 16:36:43','2025-08-26 08:36:44','nacos','192.168.48.1','U','','','formal',NULL,NULL),(7,32,'storm-job-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    gatewayUrl: http://localhost:8080/${spring.application.name}\n    package-path: com.storm.job.controller\n    title: 具身风暴 - 定时任务接口文档\n    description: 该服务包含定时任务有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0','f4b90997fcdf93706a38d6c040f3617b','2025-08-26 16:36:57','2025-08-26 08:36:58','nacos','192.168.48.1','U','','','formal',NULL,NULL),(2,33,'storm-gateway-dev.yml','DEFAULT_GROUP','','spring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  cloud:\n    gateway:\n      discovery:\n        locator:\n          lowerCaseServiceId: true\n          enabled: true\n      routes:\n        # 认证中心\n        - id: storm-auth\n          uri: lb://storm-auth\n          predicates:\n            - Path=/auth/**\n          filters:\n            # 验证码处理\n            - CacheRequestBody\n            - ValidateCodeFilter\n            - StripPrefix=1\n        # 代码生成\n        - id: storm-gen\n          uri: lb://storm-gen\n          predicates:\n            - Path=/code/**\n          filters:\n            - StripPrefix=1\n        # 定时任务\n        - id: storm-job\n          uri: lb://storm-job\n          predicates:\n            - Path=/schedule/**\n          filters:\n            - StripPrefix=1\n        # 系统模块\n        - id: storm-system\n          uri: lb://storm-system\n          predicates:\n            - Path=/system/**\n          filters:\n            - StripPrefix=1\n        # 文件服务\n        - id: storm-file\n          uri: lb://storm-file\n          predicates:\n            - Path=/file/**\n          filters:\n            - StripPrefix=1\n        #设备管理\n        - id: storm-device\n          uri: lb://storm-device\n          predicates:\n            - Path=/device/**\n          filters:\n            - StripPrefix=1\n\n# 安全配置\nsecurity:\n  # 验证码\n  captcha:\n    enabled: true\n    type: math\n  # 防止XSS攻击\n  xss:\n    enabled: true\n    excludeUrls:\n      - /system/notice\n\n  # 不校验白名单\n  ignore:\n    whites:\n      - /auth/logout\n      - /auth/login\n      - /auth/register\n      - /*/v2/api-docs\n      - /*/v3/api-docs\n      - /csrf\n\n# springdoc配置\nspringdoc:\n  webjars:\n    # 访问前缀\n    prefix:\n# knife4j配置\nknife4j:\n  enable: true  # 启用Knife4j\n  gateway:\n    enabled: true  # 启用网关聚合功能\n    strategy: discover  # 使用服务发现模式进行聚合\n    discover:\n      enabled: true  # 启用服务发现\n      version: openapi3  # 指定OpenAPI版本，与你使用的规范一致','79ad193ece921ff4f1420f74506fbab0','2025-08-26 16:51:11','2025-08-26 08:51:12','nacos','192.168.48.1','U','','','formal',NULL,NULL),(10,34,'storm-device-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm-device?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    gatewayUrl: http://localhost:8080/${spring.application.name}\n    package-path: com.storm.device.controller\n    title: 具身风暴 - 设备管理接口文档\n    description: 该服务包含设备有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0\n# 添加SpringDoc基本配置\nspringdoc:\n  api-docs:\n    path: /v3/api-docs\n    enabled: true\n  swagger-ui:\n    path: /swagger-ui.html','5918899d59d3c118910901e68de4235c','2025-08-27 16:23:07','2025-08-27 08:23:07','nacos','192.168.48.1','U','','','formal',NULL,NULL),(10,35,'storm-device-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm-device?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    gatewayUrl: http://localhost:8080/${spring.application.name}\n    package-path: com.storm.device.controller\n    title: 具身风暴 - 设备管理接口文档\n    description: 该服务包含设备有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0\n\n# 添加SpringDoc基本配置\nspringdoc:\n  api-docs:\n    path: /v3/api-docs\n    enabled: true\n  swagger-ui:\n    path: /swagger-ui.html\n\n# MyBatisPlus配置\nmybatis-plus:\n  # 搜索指定包别名\n  typeAliasesPackage: com.storm.**.domain\n  # 配置mapper的扫描，找到所有的mapper.xml映射文件\n  mapperLocations: classpath*:mapper/**/*Mapper.xml\n  # 全局配置\n  global-config:\n    db-config:\n      id-type: auto   #id生成策略为自增\n  configuration:\n    map-underscore-to-camel-case: true    #字段与属性，自动转换为驼峰命名','e22b2502c706863ecb11702acfb24640','2025-08-29 10:16:20','2025-08-29 02:16:21','nacos','192.168.48.1','U','','','formal',NULL,NULL),(2,36,'storm-gateway-dev.yml','DEFAULT_GROUP','','spring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  cloud:\n    gateway:\n      discovery:\n        locator:\n          lowerCaseServiceId: true\n          enabled: true\n      routes:\n        # 认证中心\n        - id: storm-auth\n          uri: lb://storm-auth\n          predicates:\n            - Path=/auth/**\n          filters:\n            # 验证码处理\n            - CacheRequestBody\n            - ValidateCodeFilter\n            - StripPrefix=1\n        # 代码生成\n        - id: storm-gen\n          uri: lb://storm-gen\n          predicates:\n            - Path=/code/**\n          filters:\n            - StripPrefix=1\n        # 定时任务\n        - id: storm-job\n          uri: lb://storm-job\n          predicates:\n            - Path=/schedule/**\n          filters:\n            - StripPrefix=1\n        # 系统模块\n        - id: storm-system\n          uri: lb://storm-system\n          predicates:\n            - Path=/system/**\n          filters:\n            - StripPrefix=1\n        # 文件服务\n        - id: storm-file\n          uri: lb://storm-file\n          predicates:\n            - Path=/file/**\n          filters:\n            - StripPrefix=1\n        #设备管理\n        - id: storm-device\n          uri: lb://storm-device\n          predicates:\n            - Path=/device/**\n          filters:\n            - StripPrefix=1\n\n# 安全配置\nsecurity:\n  # 验证码\n  captcha:\n    enabled: true\n    type: math\n  # 防止XSS攻击\n  xss:\n    enabled: true\n    excludeUrls:\n      - /system/notice\n\n  # 不校验白名单\n  ignore:\n    whites:\n      - /auth/logout\n      - /auth/login\n      - /auth/register\n      - /*/v2/api-docs\n      - /*/v3/api-docs\n      - /csrf\n\n# springdoc配置\nspringdoc:\n  webjars:\n    # 访问前缀\n    prefix:\n# knife4j配置\nknife4j:\n  enable: true  # 启用Knife4j\n  gateway:\n    enabled: true  # 启用网关聚合功能\n    strategy: discover  # 使用服务发现模式进行聚合\n    discover:\n      enabled: true  # 启用服务发现\n      version: openapi3  # 指定OpenAPI版本，与你使用的规范一致\n      all-services: true  # 聚合所有服务\n      group-name: default  # 默认分组名称','e55438f013e841a3d20bf57cd8f6350d','2025-09-03 20:29:11','2025-09-03 12:29:11','nacos','192.168.48.1','U','','','formal',NULL,NULL),(3,37,'storm-auth-dev.yml','DEFAULT_GROUP','','spring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED] 20:29:38','2025-09-03 12:29:38','nacos','192.168.48.1','U','','','formal',NULL,NULL),(5,38,'storm-system-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    druid:\n      stat-view-servlet:\n        enabled: true\n        loginUsername: storm\n        loginPassword: [REDACTED]    dynamic:\n      druid:\n        initial-size: 5\n        min-idle: 5\n        maxActive: 20\n        maxWait: 60000\n        connectTimeout: 30000\n        socketTimeout: 60000\n        timeBetweenEvictionRunsMillis: 60000\n        minEvictableIdleTimeMillis: 300000\n        validationQuery: SELECT 1 FROM DUAL\n        testWhileIdle: true\n        testOnBorrow: false\n        testOnReturn: false\n        poolPreparedStatements: true\n        maxPoolPreparedStatementPerConnectionSize: 20\n        filters: stat,slf4j\n        connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n      datasource:\n          # 主库数据源\n          master:\n            driver-class-name: com.mysql.cj.jdbc.Driver\n            url: jdbc:mysql://192.168.48.128:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n            username: root\n            password: [REDACTED]          # 从库数据源\n          # slave:\n            # username: \n            # password: [REDACTED]            # url: \n            # driver-class-name: \n\n# springdoc配置\n#springdoc:\n#  gatewayUrl: http://localhost:8080/${spring.application.name}\n#  api-docs:\n    # 是否开启接口文档\n#    enabled: true\n#  info:\n    # 标题\n#    title: \'系统模块接口文档\'\n    # 描述\n#    description: \'系统模块接口描述\'\n    # 作者信息\n#    contact:\n#      name: storm\n#      url: https://storm.vip\n# knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    gatewayUrl: http://localhost:8080/${spring.application.name}\n    package-path: com.storm.system.controller\n    title: 具身风暴 - 系统模块接口文档\n    description: 该服务包含系统配置有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0\n# 添加SpringDoc基本配置\nspringdoc:\n  api-docs:\n    path: /v3/api-docs\n    enabled: true\n  swagger-ui:\n    path: /swagger-ui.html','efda4f9733019744d8d7674e994b7fbc','2025-09-03 20:30:53','2025-09-03 12:30:53','nacos','192.168.48.1','U','','','formal',NULL,NULL),(6,39,'storm-gen-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    gatewayUrl: http://localhost:8080/${spring.application.name}\n    package-path: com.storm.gen.controller\n    title: 具身风暴 - 代码生成接口文档\n    description: 该服务包含代码生成有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0\n# 添加SpringDoc基本配置\nspringdoc:\n  api-docs:\n    path: /v3/api-docs\n    enabled: true\n  swagger-ui:\n    path: /swagger-ui.html\n\n# 代码生成\ngen:\n  # 作者\n  author: storm\n  # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n  packageName: com.storm.system\n  # 自动去除表前缀，默认是false\n  autoRemovePre: false\n  # 表前缀（生成类名不会包含表前缀，多个用逗号分隔）\n  tablePrefix: sys_\n  # 是否允许生成文件覆盖到本地（自定义路径），默认不允许\n  allowOverwrite: false','bd39adf6ba0c4c85316cd36a20ccb1e4','2025-09-03 20:31:37','2025-09-03 12:31:38','nacos','192.168.48.1','U','','','formal',NULL,NULL),(7,40,'storm-job-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    gatewayUrl: http://localhost:8080/${spring.application.name}\n    package-path: com.storm.job.controller\n    title: 具身风暴 - 定时任务接口文档\n    description: 该服务包含定时任务有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0\n# 添加SpringDoc基本配置\nspringdoc:\n  api-docs:\n    path: /v3/api-docs\n    enabled: true\n  swagger-ui:\n    path: /swagger-ui.html','5ce2556fb86ab36e31becd3d3b78b186','2025-09-03 20:32:17','2025-09-03 12:32:18','nacos','192.168.48.1','U','','','formal',NULL,NULL),(10,41,'storm-device-dev.yml','DEFAULT_GROUP','','# spring配置\nspring:\n  redis:\n    host: 192.168.48.128\n    port: 6379\n    password: [REDACTED]  datasource:\n    driver-class-name: com.mysql.cj.jdbc.Driver\n    url: jdbc:mysql://192.168.48.128:3306/storm-device?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n    username: root\n    password: [REDACTED] knife4j配置\nstorm:\n  swagger:\n    enable: true\n    enableResponseWrap: true\n    gatewayUrl: http://localhost:8080/${spring.application.name}\n    package-path: com.storm.device.controller\n    title: 具身风暴 - 设备管理接口文档\n    description: 该服务包含设备有关的功能\n    contact-name: storm\n    contact-url: https://storm.vip\n    contact-email: zx1697935564@163.com\n    version: v1.0\n\n# 添加SpringDoc基本配置\nspringdoc:\n  api-docs:\n    path: /v3/api-docs\n    enabled: true\n  swagger-ui:\n    path: /swagger-ui.html\n','74442fb4d97c82eff077a4aa63fbe27f','2025-09-03 20:32:59','2025-09-03 12:33:00','nacos','192.168.48.1','U','','','formal',NULL,NULL);
/*!40000 ALTER TABLE `his_config_info` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `permissions`
--

DROP TABLE IF EXISTS `permissions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `permissions` (
  `role` varchar(50) NOT NULL COMMENT 'role',
  `resource` varchar(128) NOT NULL COMMENT 'resource',
  `action` varchar(8) NOT NULL COMMENT 'action',
  UNIQUE KEY `uk_role_permission` (`role`,`resource`,`action`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `permissions`
--

LOCK TABLES `permissions` WRITE;
/*!40000 ALTER TABLE `permissions` DISABLE KEYS */;
/*!40000 ALTER TABLE `permissions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `roles`
--

DROP TABLE IF EXISTS `roles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roles` (
  `username` varchar(50) NOT NULL COMMENT 'username',
  `role` varchar(50) NOT NULL COMMENT 'role',
  UNIQUE KEY `idx_user_role` (`username`,`role`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `roles`
--

LOCK TABLES `roles` WRITE;
/*!40000 ALTER TABLE `roles` DISABLE KEYS */;
INSERT INTO `roles` VALUES ('nacos','ROLE_ADMIN');
/*!40000 ALTER TABLE `roles` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tenant_capacity`
--

DROP TABLE IF EXISTS `tenant_capacity`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tenant_capacity` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `tenant_id` varchar(128) COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT 'Tenant ID',
  `quota` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '配额，0表示使用默认值',
  `usage` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '使用量',
  `max_size` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '单个配置大小上限，单位为字节，0表示使用默认值',
  `max_aggr_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '聚合子配置最大个数',
  `max_aggr_size` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '单个聚合数据的子配置大小上限，单位为字节，0表示使用默认值',
  `max_history_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '最大变更历史数量',
  `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_tenant_id` (`tenant_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='租户容量信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tenant_capacity`
--

LOCK TABLES `tenant_capacity` WRITE;
/*!40000 ALTER TABLE `tenant_capacity` DISABLE KEYS */;
/*!40000 ALTER TABLE `tenant_capacity` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tenant_info`
--

DROP TABLE IF EXISTS `tenant_info`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tenant_info` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `kp` varchar(128) COLLATE utf8_bin NOT NULL COMMENT 'kp',
  `tenant_id` varchar(128) COLLATE utf8_bin DEFAULT '' COMMENT 'tenant_id',
  `tenant_name` varchar(128) COLLATE utf8_bin DEFAULT '' COMMENT 'tenant_name',
  `tenant_desc` varchar(256) COLLATE utf8_bin DEFAULT NULL COMMENT 'tenant_desc',
  `create_source` varchar(32) COLLATE utf8_bin DEFAULT NULL COMMENT 'create_source',
  `gmt_create` bigint(20) NOT NULL COMMENT '创建时间',
  `gmt_modified` bigint(20) NOT NULL COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_tenant_info_kptenantid` (`kp`,`tenant_id`),
  KEY `idx_tenant_id` (`tenant_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='tenant_info';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tenant_info`
--

LOCK TABLES `tenant_info` WRITE;
/*!40000 ALTER TABLE `tenant_info` DISABLE KEYS */;
/*!40000 ALTER TABLE `tenant_info` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `users`
--

DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `users` (
  `username` varchar(50) NOT NULL COMMENT 'username',
  `password` varchar(500) NOT NULL COMMENT 'password',
  `enabled` tinyint(1) NOT NULL COMMENT 'enabled',
  PRIMARY KEY (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `users`
--

LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` VALUES ('nacos','$2a$10$cMvFSQiCPJN8k/3BIeEzducWdh9CD8y4PTKGYRfDNajhvE.94Du5O',1);
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping routines for database 'storm-config'
--
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2025-09-04 10:19:06
