diff --git a/config/application-dev.yml b/config/application-dev.yml index b9f3dc30..7d3affe9 100644 --- a/config/application-dev.yml +++ b/config/application-dev.yml @@ -1,5 +1,36 @@ # redis 单机配置(单机与集群只能开启一个另一个需要注释掉) spring: + datasource: + system-master: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + username: root + password: password + gen: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + username: root + password: password + + # 多数据源配置 + dynamic: + druid: + initial-size: 5 + min-idle: 5 + maxActive: 20 + maxWait: 60000 + timeBetweenEvictionRunsMillis: 60000 + minEvictableIdleTimeMillis: 300000 + validationQuery: SELECT 1 FROM DUAL + testWhileIdle: true + testOnBorrow: false + testOnReturn: false + poolPreparedStatements: true + maxPoolPreparedStatementPerConnectionSize: 20 + filters: stat,slf4j + connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 +# seata: true # 开启seata代理,开启后默认每个数据源都代理,如果某个不需要代理可单独关闭 + redis: # 地址 host: localhost @@ -46,3 +77,51 @@ redisson: subscriptionsPerConnection: 5 # DNS监测时间间隔,单位:毫秒 dnsMonitoringInterval: 5000 + +# seata配置 +seata: + # 默认关闭,如需启用spring.datasource.dynami.seata需要同时开启 + enabled: false + # Seata 应用编号,默认为 ${spring.application.name} + application-id: ${spring.application.name} + # Seata 事务组编号,用于 TC 集群名 + tx-service-group: ${spring.application.name}-group + # 关闭自动代理 + enable-auto-data-source-proxy: false + # 服务配置项 + service: + # 虚拟组和分组的映射 + vgroup-mapping: + ruoyi-system-group: default + config: + type: nacos + nacos: + serverAddr: ${spring.cloud.nacos.server-addr} + group: SEATA_GROUP + namespace: + registry: + type: nacos + nacos: + application: seata-server + server-addr: ${spring.cloud.nacos.server-addr} + namespace: + +# 本地文件上传 +file: + domain: http://127.0.0.1:9300 + path: D:/ruoyi/uploadPath + prefix: /statics + +# FastDFS配置 +fdfs: + domain: http://8.129.231.12 + soTimeout: 3000 + connectTimeout: 2000 + trackerList: 8.129.231.12:22122 + +# Minio配置 +minio: + url: http://8.129.231.12:9000 + accessKey: minioadmin + secretKey: minioadmin + bucketName: test \ No newline at end of file diff --git a/config/application-prod.yml b/config/application-prod.yml index b9f3dc30..cfa430af 100644 --- a/config/application-prod.yml +++ b/config/application-prod.yml @@ -1,5 +1,36 @@ # redis 单机配置(单机与集群只能开启一个另一个需要注释掉) spring: + datasource: + system-master: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + username: root + password: password + gen: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + username: root + password: password + + # 多数据源配置 + dynamic: + druid: + initial-size: 5 + min-idle: 5 + maxActive: 20 + maxWait: 60000 + timeBetweenEvictionRunsMillis: 60000 + minEvictableIdleTimeMillis: 300000 + validationQuery: SELECT 1 FROM DUAL + testWhileIdle: true + testOnBorrow: false + testOnReturn: false + poolPreparedStatements: true + maxPoolPreparedStatementPerConnectionSize: 20 + filters: stat,slf4j + connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 + # seata: true # 开启seata代理,开启后默认每个数据源都代理,如果某个不需要代理可单独关闭 + redis: # 地址 host: localhost @@ -46,3 +77,51 @@ redisson: subscriptionsPerConnection: 5 # DNS监测时间间隔,单位:毫秒 dnsMonitoringInterval: 5000 + +# seata配置 +seata: + # 默认关闭,如需启用spring.datasource.dynami.seata需要同时开启 + enabled: false + # Seata 应用编号,默认为 ${spring.application.name} + application-id: ${spring.application.name} + # Seata 事务组编号,用于 TC 集群名 + tx-service-group: ${spring.application.name}-group + # 关闭自动代理 + enable-auto-data-source-proxy: false + # 服务配置项 + service: + # 虚拟组和分组的映射 + vgroup-mapping: + ruoyi-system-group: default + config: + type: nacos + nacos: + serverAddr: ${spring.cloud.nacos.server-addr} + group: SEATA_GROUP + namespace: + registry: + type: nacos + nacos: + application: seata-server + server-addr: ${spring.cloud.nacos.server-addr} + namespace: + +# 本地文件上传 +file: + domain: http://127.0.0.1:9300 + path: D:/ruoyi/uploadPath + prefix: /statics + +# FastDFS配置 +fdfs: + domain: http://8.129.231.12 + soTimeout: 3000 + connectTimeout: 2000 + trackerList: 8.129.231.12:22122 + +# Minio配置 +minio: + url: http://8.129.231.12:9000 + accessKey: minioadmin + secretKey: minioadmin + bucketName: test \ No newline at end of file diff --git a/config/application.yml b/config/application.yml index 9a3765a0..7e231194 100644 --- a/config/application.yml +++ b/config/application.yml @@ -13,6 +13,80 @@ spring: deserialization: # 允许对象忽略json中不存在的属性 fail_on_unknown_properties: false + cloud: + # 网关配置 + gateway: + discovery: + locator: + lowerCaseServiceId: true + enabled: true + routes: + # 认证中心 + - id: ruoyi-auth + uri: lb://ruoyi-auth + predicates: + - Path=/auth/** + filters: + # 验证码处理 + - CacheRequestFilter + - ValidateCodeFilter + - StripPrefix=1 + # 代码生成 + - id: ruoyi-gen + uri: lb://ruoyi-gen + predicates: + - Path=/code/** + filters: + - StripPrefix=1 + # 定时任务 + - id: ruoyi-job + uri: lb://ruoyi-job + predicates: + - Path=/schedule/** + filters: + - StripPrefix=1 + # 系统模块 + - id: ruoyi-system + uri: lb://ruoyi-system + predicates: + - Path=/system/** + filters: + - StripPrefix=1 + # 文件服务 + - id: ruoyi-file + uri: lb://ruoyi-file + predicates: + - Path=/file/** + filters: + - StripPrefix=1 + +# 安全配置 +security: + # 验证码 + captcha: + # 是否开启验证码 + enabled: true + # 验证码类型 math 数组计算 char 字符验证 + type: MATH + # line 线段干扰 circle 圆圈干扰 shear 扭曲干扰 + category: CIRCLE + # 数字验证码位数 + numberLength: 1 + # 字符验证码长度 + charLength: 4 + # 防止XSS攻击 + xss: + enabled: true + excludeUrls: + - /system/notice + # 不校验白名单 + ignore: + whites: + - /auth/logout + - /auth/login + - /auth/register + - /*/v2/api-docs + - /csrf # feign 配置 feign: @@ -59,4 +133,14 @@ lock4j: # 分布式锁的超时时间,默认为 30 毫秒 expire: 30000 +# mybatis配置 +mybatis: + # 搜索指定包别名 + typeAliasesPackage: com.ruoyi.**.domain + # 配置mapper的扫描,找到所有的mapper.xml映射文件 + mapperLocations: classpath:mapper/**/*.xml +# swagger配置 +swagger: + license: Powered By ruoyi + licenseUrl: https://ruoyi.vip diff --git a/config/ruoyi-auth-dev.yml b/config/ruoyi-auth-dev.yml deleted file mode 100644 index e69de29b..00000000 diff --git a/config/ruoyi-file-dev.yml b/config/ruoyi-file-dev.yml deleted file mode 100644 index 9d8847d0..00000000 --- a/config/ruoyi-file-dev.yml +++ /dev/null @@ -1,19 +0,0 @@ -# 本地文件上传 -file: - domain: http://127.0.0.1:9300 - path: D:/ruoyi/uploadPath - prefix: /statics - -# FastDFS配置 -fdfs: - domain: http://8.129.231.12 - soTimeout: 3000 - connectTimeout: 2000 - trackerList: 8.129.231.12:22122 - -# Minio配置 -minio: - url: http://8.129.231.12:9000 - accessKey: minioadmin - secretKey: minioadmin - bucketName: test \ No newline at end of file diff --git a/config/ruoyi-gateway-dev.yml b/config/ruoyi-gateway-dev.yml deleted file mode 100644 index 9920eab4..00000000 --- a/config/ruoyi-gateway-dev.yml +++ /dev/null @@ -1,74 +0,0 @@ -spring: - cloud: - gateway: - discovery: - locator: - lowerCaseServiceId: true - enabled: true - routes: - # 认证中心 - - id: ruoyi-auth - uri: lb://ruoyi-auth - predicates: - - Path=/auth/** - filters: - # 验证码处理 - - CacheRequestFilter - - ValidateCodeFilter - - StripPrefix=1 - # 代码生成 - - id: ruoyi-gen - uri: lb://ruoyi-gen - predicates: - - Path=/code/** - filters: - - StripPrefix=1 - # 定时任务 - - id: ruoyi-job - uri: lb://ruoyi-job - predicates: - - Path=/schedule/** - filters: - - StripPrefix=1 - # 系统模块 - - id: ruoyi-system - uri: lb://ruoyi-system - predicates: - - Path=/system/** - filters: - - StripPrefix=1 - # 文件服务 - - id: ruoyi-file - uri: lb://ruoyi-file - predicates: - - Path=/file/** - filters: - - StripPrefix=1 - -# 安全配置 -security: - # 验证码 - captcha: - # 是否开启验证码 - enabled: true - # 验证码类型 math 数组计算 char 字符验证 - type: MATH - # line 线段干扰 circle 圆圈干扰 shear 扭曲干扰 - category: CIRCLE - # 数字验证码位数 - numberLength: 1 - # 字符验证码长度 - charLength: 4 - # 防止XSS攻击 - xss: - enabled: true - excludeUrls: - - /system/notice - # 不校验白名单 - ignore: - whites: - - /auth/logout - - /auth/login - - /auth/register - - /*/v2/api-docs - - /csrf diff --git a/config/ruoyi-gen-dev.yml b/config/ruoyi-gen-dev.yml deleted file mode 100644 index 981b1605..00000000 --- a/config/ruoyi-gen-dev.yml +++ /dev/null @@ -1,30 +0,0 @@ -spring: - datasource: - driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 - username: root - password: password - -# mybatis配置 -mybatis: - # 搜索指定包别名 - typeAliasesPackage: com.ruoyi.gen.domain - # 配置mapper的扫描,找到所有的mapper.xml映射文件 - mapperLocations: classpath:mapper/**/*.xml - -# swagger配置 -swagger: - title: 代码生成接口文档 - license: Powered By ruoyi - licenseUrl: https://ruoyi.vip - -# 代码生成 -gen: - # 作者 - author: ruoyi - # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool - packageName: com.ruoyi.system - # 自动去除表前缀,默认是false - autoRemovePre: false - # 表前缀(生成类名不会包含表前缀,多个用逗号分隔) - tablePrefix: sys_ diff --git a/config/ruoyi-job-dev.yml b/config/ruoyi-job-dev.yml deleted file mode 100644 index ed23262b..00000000 --- a/config/ruoyi-job-dev.yml +++ /dev/null @@ -1,19 +0,0 @@ -spring: - datasource: - driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 - username: root - password: password - -# mybatis配置 -mybatis: - # 搜索指定包别名 - typeAliasesPackage: com.ruoyi.job.domain - # 配置mapper的扫描,找到所有的mapper.xml映射文件 - mapperLocations: classpath:mapper/**/*.xml - -# swagger配置 -swagger: - title: 定时任务接口文档 - license: Powered By ruoyi - licenseUrl: https://ruoyi.vip diff --git a/config/ruoyi-monitor-dev.yml b/config/ruoyi-monitor-dev.yml deleted file mode 100644 index 4fcf2bbc..00000000 --- a/config/ruoyi-monitor-dev.yml +++ /dev/null @@ -1,9 +0,0 @@ -spring: - security: - user: - name: ruoyi - password: 123456 - boot: - admin: - ui: - title: 若依服务状态监控 \ No newline at end of file diff --git a/config/ruoyi-system-dev.yml b/config/ruoyi-system-dev.yml deleted file mode 100644 index d16f901b..00000000 --- a/config/ruoyi-system-dev.yml +++ /dev/null @@ -1,78 +0,0 @@ -spring: - datasource: - druid: - stat-view-servlet: - enabled: true - loginUsername: admin - loginPassword: 123456 - dynamic: - druid: - initial-size: 5 - min-idle: 5 - maxActive: 20 - maxWait: 60000 - timeBetweenEvictionRunsMillis: 60000 - minEvictableIdleTimeMillis: 300000 - validationQuery: SELECT 1 FROM DUAL - testWhileIdle: true - testOnBorrow: false - testOnReturn: false - poolPreparedStatements: true - maxPoolPreparedStatementPerConnectionSize: 20 - filters: stat,slf4j - connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 - datasource: - # 主库数据源 - master: - driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 - username: root - password: password - # 从库数据源 - # slave: - # username: - # password: - # url: - # driver-class-name: - # seata: true # 开启seata代理,开启后默认每个数据源都代理,如果某个不需要代理可单独关闭 - -# seata配置 -seata: - # 默认关闭,如需启用spring.datasource.dynami.seata需要同时开启 - enabled: false - # Seata 应用编号,默认为 ${spring.application.name} - application-id: ${spring.application.name} - # Seata 事务组编号,用于 TC 集群名 - tx-service-group: ${spring.application.name}-group - # 关闭自动代理 - enable-auto-data-source-proxy: false - # 服务配置项 - service: - # 虚拟组和分组的映射 - vgroup-mapping: - ruoyi-system-group: default - config: - type: nacos - nacos: - serverAddr: 127.0.0.1:8848 - group: SEATA_GROUP - namespace: - registry: - type: nacos - nacos: - application: seata-server - server-addr: 127.0.0.1:8848 - namespace: - -# mybatis配置 -mybatis: - # 搜索指定包别名 - typeAliasesPackage: com.ruoyi.system - # 配置mapper的扫描,找到所有的mapper.xml映射文件 - mapperLocations: classpath:mapper/**/*.xml - -# swagger配置 -swagger: - title: 系统模块接口文档 - license: Powered By ruoyi - licenseUrl: https://ruoyi.vip \ No newline at end of file diff --git a/pom.xml b/pom.xml index ad715f16..7bb36f4a 100644 --- a/pom.xml +++ b/pom.xml @@ -52,7 +52,7 @@ 127.0.0.1:8848 DEFAULT_GROUP DEFAULT_GROUP - 127.0.0.1:8718 + 60.205.227.68:8718 diff --git a/ruoyi-modules/ruoyi-gen/pom.xml b/ruoyi-modules/ruoyi-gen/pom.xml index 7097972e..36f1b157 100644 --- a/ruoyi-modules/ruoyi-gen/pom.xml +++ b/ruoyi-modules/ruoyi-gen/pom.xml @@ -78,6 +78,12 @@ ruoyi-common-swagger + + + com.ruoyi + ruoyi-common-datasource + + diff --git a/ruoyi-modules/ruoyi-gen/src/main/resources/bootstrap.yml b/ruoyi-modules/ruoyi-gen/src/main/resources/bootstrap.yml index 6949e4b2..4f5cca9d 100644 --- a/ruoyi-modules/ruoyi-gen/src/main/resources/bootstrap.yml +++ b/ruoyi-modules/ruoyi-gen/src/main/resources/bootstrap.yml @@ -11,6 +11,12 @@ spring: # 环境配置 active: @profiles.active@ +# swagger配置 +swagger: + title: 代码生成接口文档 + license: ${swagger.license} + licenseUrl: ${swagger.licenseUrl} + --- # nacos 配置 spring: cloud: @@ -29,3 +35,32 @@ spring: shared-configs: - application.${spring.cloud.nacos.config.file-extension} - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + +--- # 数据源 +spring: + datasource: + dynamic: + datasource: + # 主库数据源 + master: + driver-class-name: ${spring.datasource.gen.driver-class-name} + url: ${spring.datasource.gen.url} + username: ${spring.datasource.gen.username} + password: ${spring.datasource.gen.password} + # 从库数据源 +# slave: +# username: +# password: +# url: +# driver-class-name: + +--- # 代码生成 +gen: + # 作者 + author: ruoyi + # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool + packageName: com.ruoyi.system + # 自动去除表前缀,默认是false + autoRemovePre: false + # 表前缀(生成类名不会包含表前缀,多个用逗号分隔) + tablePrefix: sys_ diff --git a/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap.yml b/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap.yml index 5d247131..79a76bfa 100644 --- a/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap.yml +++ b/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap.yml @@ -11,6 +11,12 @@ spring: # 环境配置 active: @profiles.active@ +# swagger配置 +swagger: + title: 系统模块接口文档 + license: ${swagger.license} + licenseUrl: ${swagger.licenseUrl} + --- # nacos 配置 spring: cloud: @@ -29,3 +35,21 @@ spring: shared-configs: - application.${spring.cloud.nacos.config.file-extension} - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + +--- # 数据源 +spring: + datasource: + dynamic: + datasource: + # 主库数据源 + master: + driver-class-name: ${spring.datasource.system-master.driver-class-name} + url: ${spring.datasource.system-master.url} + username: ${spring.datasource.system-master.username} + password: ${spring.datasource.system-master.password} + # 从库数据源 +# slave: +# username: +# password: +# url: +# driver-class-name: diff --git a/ruoyi-visual/ruoyi-monitor/src/main/resources/bootstrap.yml b/ruoyi-visual/ruoyi-monitor/src/main/resources/bootstrap.yml index 03943edc..b2322551 100644 --- a/ruoyi-visual/ruoyi-monitor/src/main/resources/bootstrap.yml +++ b/ruoyi-visual/ruoyi-monitor/src/main/resources/bootstrap.yml @@ -29,3 +29,14 @@ spring: shared-configs: - application.${spring.cloud.nacos.config.file-extension} - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + +--- # 监控中心配置 +spring: + security: + user: + name: ruoyi + password: 123456 + boot: + admin: + ui: + title: 若依服务状态监控 diff --git a/sql/ry_config_20211118.sql b/sql/ry_config_20211118.sql index 6defd16a..cca10839 100644 --- a/sql/ry_config_20211118.sql +++ b/sql/ry_config_20211118.sql @@ -35,14 +35,7 @@ insert into config_info(id, data_id, group_id, content, md5, gmt_create, gmt_mod (1,'application.yml','DEFAULT_GROUP','# 将项目路径:config/下对应文件中内容复制到此处\n','760986157e62a0c1e0dadf9d2a6acf40','2019-11-29 16:31:01','2021-11-30 12:03:01','','0:0:0:0:0:0:0:1','','','通用配置基础配置','null','null','yaml','null'), (2,'application-dev.yml','DEFAULT_GROUP','# 将项目路径:config/下对应文件中内容复制到此处\n','80e38bff4ba7482da62a2803e550f6b2','2019-11-29 16:32:02','2021-11-30 12:04:02','','0:0:0:0:0:0:0:1','','','通用配置开发环境','null','null','yaml','null'), (3,'application-prod.yml','DEFAULT_GROUP','# 将项目路径:config/下对应文件中内容复制到此处\n','1774e05ccf3f4c73a1b9a8b17fde1f2d','2019-11-29 16:33:03','2021-11-30 12:05:03','','0:0:0:0:0:0:0:1','','','通用配置正式环境','null','null','yaml','null'), -(4,'ruoyi-gateway-dev.yml','DEFAULT_GROUP','# 将项目路径:config/下对应文件中内容复制到此处\n','2f5a6b5a4ccf20b5801c5cf842456ec6','2020-05-14 14:17:55','2021-07-30 09:07:14',NULL,'0:0:0:0:0:0:0:1','','','网关模块','null','null','yaml','null'), -(5,'ruoyi-auth-dev.yml','DEFAULT_GROUP','# 将项目路径:config/下对应文件中内容复制到此处\n','b7354e1eb62c2d846d44a796d9ec6930','2020-11-20 00:00:00','2021-02-28 21:06:58',NULL,'0:0:0:0:0:0:0:1','','','认证中心','null','null','yaml','null'), -(6,'ruoyi-monitor-dev.yml','DEFAULT_GROUP','# 将项目路径:config/下对应文件中内容复制到此处\n','d8997d0707a2fd5d9fc4e8409da38129','2020-11-20 00:00:00','2020-12-21 16:28:07',NULL,'0:0:0:0:0:0:0:1','','','监控中心','null','null','yaml','null'), -(7,'ruoyi-system-dev.yml','DEFAULT_GROUP','# 将项目路径:config/下对应文件中内容复制到此处\n','ac8913dee679e65bb7d482df5f267d4e','2020-11-20 00:00:00','2021-01-27 10:42:25',NULL,'0:0:0:0:0:0:0:1','','','系统模块','null','null','yaml','null'), -(8,'ruoyi-gen-dev.yml','DEFAULT_GROUP','# 将项目路径:config/下对应文件中内容复制到此处\n','8c79f64a4cca9b821a03dc8b27a2d8eb','2020-11-20 00:00:00','2021-01-26 10:36:45',NULL,'0:0:0:0:0:0:0:1','','','代码生成','null','null','yaml','null'), -(9,'ruoyi-job-dev.yml','DEFAULT_GROUP','# 将项目路径:config/下对应文件中内容复制到此处\n','d6dfade9a2c93c463ae857cd503cb172','2020-11-20 00:00:00','2021-01-26 10:36:04',NULL,'0:0:0:0:0:0:0:1','','','定时任务','null','null','yaml','null'), -(10,'ruoyi-file-dev.yml','DEFAULT_GROUP','# 将项目路径:config/下对应文件中内容复制到此处\n','5382b93f3d8059d6068c0501fdd41195','2020-11-20 00:00:00','2020-12-21 21:01:59',NULL,'0:0:0:0:0:0:0:1','','','文件服务','null','null','yaml','null'), -(11,'sentinel-ruoyi-gateway','DEFAULT_GROUP','# 将项目路径:config/下对应文件中内容复制到此处\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'); +(4,'sentinel-ruoyi-gateway','DEFAULT_GROUP','# 将项目路径:config/下对应文件中内容复制到此处\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'); /******************************************/