From 2d28a6a183e2b54bd712a609ce0562f7156be4a9 Mon Sep 17 00:00:00 2001 From: Zhu Zhonghua <zhonghua@qq.com> Date: 星期一, 07 四月 2025 17:49:02 +0800 Subject: [PATCH] 初始化sql --- sql/aps_config_20250224.sql | 331 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 321 insertions(+), 10 deletions(-) diff --git a/sql/aps_config_20250224.sql b/sql/aps_config_20250224.sql index 7a3ff4c..e4d20ac 100644 --- a/sql/aps_config_20250224.sql +++ b/sql/aps_config_20250224.sql @@ -32,16 +32,327 @@ UNIQUE KEY `uk_configinfo_datagrouptenant` (`data_id`,`group_id`,`tenant_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='config_info'; -insert into config_info(id, data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema, encrypted_data_key) 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,'aps-gateway-dev.yml','DEFAULT_GROUP','spring:\n data:\n redis:\n host: localhost\n port: 6379\n password: \n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 璁よ瘉涓績\n - id: aps-auth\n uri: lb://aps-auth\n predicates:\n - Path=/auth/**\n filters:\n # 楠岃瘉鐮佸鐞哱n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 浠g爜鐢熸垚\n - id: aps-gen\n uri: lb://aps-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 瀹氭椂浠诲姟\n - id: aps-job\n uri: lb://aps-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 绯荤粺妯″潡\n - id: aps-system\n uri: lb://aps-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 鏂囦欢鏈嶅姟\n - id: aps-file\n uri: lb://aps-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','8c27a047f057fc05e5fc223adeb9c685','2020-05-14 14:17:55','2024-09-14 04:49:34','nacos','0:0:0:0:0:0:0:1','','','缃戝叧妯″潡','null','null','yaml','',''), -(3,'aps-auth-dev.yml','DEFAULT_GROUP','spring:\n data:\n redis:\n host: localhost\n port: 6379\n password: \n','72565b1a725e013154ee57c8fd3045c4','2020-11-20 00:00:00','2024-09-14 04:49:42','nacos','0:0:0:0:0:0:0:1','','','璁よ瘉涓績','null','null','yaml','',''), -(4,'aps-monitor-dev.yml','DEFAULT_GROUP','# spring\nspring:\n security:\n user:\n name: ruoyi\n password: 123456\n 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,'aps-system-dev.yml','DEFAULT_GROUP','# spring閰嶇疆\nspring:\n data:\n redis:\n host: localhost\n port: 6379\n password: \n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: ruoyi\n loginPassword: 123456\n 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://localhost:3306/aps-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: password\n # 浠庡簱鏁版嵁婧怽n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis閰嶇疆\nmybatis:\n # 鎼滅储鎸囧畾鍖呭埆鍚峔n typeAliasesPackage: com.aps.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 # 鏄惁寮�鍚帴鍙f枃妗n enabled: true\n info:\n # 鏍囬\n title: \'绯荤粺妯″潡鎺ュ彛鏂囨。\'\n # 鎻忚堪\n description: \'绯荤粺妯″潡鎺ュ彛鎻忚堪\'\n # 浣滆�呬俊鎭痋n contact:\n name: RuoYi\n url: https://ruoyi.vip\n','a79ae256018abb7f3bbaba923baeb6af','2020-11-20 00:00:00','2024-09-14 04:49:54','nacos','0:0:0:0:0:0:0:1','','','绯荤粺妯″潡','null','null','yaml','',''), -(6,'aps-gen-dev.yml','DEFAULT_GROUP','# spring閰嶇疆\nspring:\n data:\n redis:\n host: localhost\n port: 6379\n password: \n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/aps-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: password\n\n# mybatis閰嶇疆\nmybatis:\n # 鎼滅储鎸囧畾鍖呭埆鍚峔n typeAliasesPackage: com.aps.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 # 鏄惁寮�鍚帴鍙f枃妗n enabled: true\n info:\n # 鏍囬\n title: \'浠g爜鐢熸垚鎺ュ彛鏂囨。\'\n # 鎻忚堪\n description: \'浠g爜鐢熸垚鎺ュ彛鎻忚堪\'\n # 浣滆�呬俊鎭痋n contact:\n name: RuoYi\n url: https://ruoyi.vip\n\n# 浠g爜鐢熸垚\ngen:\n # 浣滆�匼n author: ruoyi\n # 榛樿鐢熸垚鍖呰矾寰� system 闇�鏀规垚鑷繁鐨勬ā鍧楀悕绉� 濡� system monitor tool\n packageName: com.aps.system\n # 鑷姩鍘婚櫎琛ㄥ墠缂�锛岄粯璁ゆ槸false\n autoRemovePre: false\n # 琛ㄥ墠缂�锛堢敓鎴愮被鍚嶄笉浼氬寘鍚〃鍓嶇紑锛屽涓敤閫楀彿鍒嗛殧锛塡n tablePrefix: sys_\n # 鏄惁鍏佽鐢熸垚鏂囦欢瑕嗙洊鍒版湰鍦帮紙鑷畾涔夎矾寰勶級锛岄粯璁や笉鍏佽\n allowOverwrite: false','669b20230daf5b2eddda1c87a1e755d7','2020-11-20 00:00:00','2024-12-25 08:39:25','nacos','0:0:0:0:0:0:0:1','','','浠g爜鐢熸垚','null','null','yaml','',''), -(7,'aps-job-dev.yml','DEFAULT_GROUP','# spring閰嶇疆\nspring:\n data:\n redis:\n host: localhost\n port: 6379\n password: \n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/aps-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: password\n\n# mybatis閰嶇疆\nmybatis:\n # 鎼滅储鎸囧畾鍖呭埆鍚峔n typeAliasesPackage: com.aps.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 # 鏄惁寮�鍚帴鍙f枃妗n enabled: true\n info:\n # 鏍囬\n title: \'瀹氭椂浠诲姟鎺ュ彛鏂囨。\'\n # 鎻忚堪\n description: \'瀹氭椂浠诲姟鎺ュ彛鎻忚堪\'\n # 浣滆�呬俊鎭痋n contact:\n name: RuoYi\n url: https://ruoyi.vip\n','225445e638148dbcbadda8d9774ce3fd','2020-11-20 00:00:00','2024-09-14 04:50:12','nacos','0:0:0:0:0:0:0:1','','','瀹氭椂浠诲姟','null','null','yaml','',''), -(8,'aps-file-dev.yml','DEFAULT_GROUP','# 鏈湴鏂囦欢涓婁紶 \r\nfile:\r\n domain: http://127.0.0.1:9300\r\n path: D:/ruoyi/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','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,''), -(9,'sentinel-aps-gateway','DEFAULT_GROUP','[\r\n {\r\n \"resource\": \"aps-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\": \"aps-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\": \"aps-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\": \"aps-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,''); +INSERT INTO nacosdb.config_info (id, data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema, encrypted_data_key) VALUES (1, 'application-dev.yml', 'DEFAULT_GROUP', 'spring: + autoconfigure: + exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure + +# feign 閰嶇疆 +feign: + sentinel: + enabled: true + okhttp: + enabled: true + httpclient: + enabled: false + client: + config: + default: + connectTimeout: 10000 + readTimeout: 10000 + compression: + request: + enabled: true + min-request-size: 8192 + response: + enabled: true + +# 鏆撮湶鐩戞帶绔偣 +management: + endpoints: + web: + exposure: + include: \'*\' +', '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', '', ''); +INSERT INTO nacosdb.config_info (id, data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema, encrypted_data_key) VALUES (2, 'aps-gateway-dev.yml', 'DEFAULT_GROUP', 'spring: + data: + redis: + host: 192.168.50.160 + port: 6379 + password: + cloud: + gateway: + discovery: + locator: + lowerCaseServiceId: true + enabled: true + routes: + # 璁よ瘉涓績 + - id: aps-auth + uri: lb://aps-auth + predicates: + - Path=/auth/** + filters: + # 楠岃瘉鐮佸鐞� + - CacheRequestFilter + - ValidateCodeFilter + - StripPrefix=1 + # 浠g爜鐢熸垚 + - id: aps-gen + uri: lb://aps-gen + predicates: + - Path=/code/** + filters: + - StripPrefix=1 + # 瀹氭椂浠诲姟 + - id: aps-job + uri: lb://aps-job + predicates: + - Path=/schedule/** + filters: + - StripPrefix=1 + # 绯荤粺妯″潡 + - id: aps-system + uri: lb://aps-system + predicates: + - Path=/system/** + filters: + - StripPrefix=1 + # 鏂囦欢鏈嶅姟 + - id: aps-file + uri: lb://aps-file + predicates: + - Path=/file/** + filters: + - StripPrefix=1 + +# 瀹夊叏閰嶇疆 +security: + # 楠岃瘉鐮� + captcha: + enabled: true + type: math + # 闃叉XSS鏀诲嚮 + xss: + enabled: true + excludeUrls: + - /system/notice + + # 涓嶆牎楠岀櫧鍚嶅崟 + ignore: + whites: + - /auth/logout + - /auth/login + - /auth/register + - /*/v2/api-docs + - /*/v3/api-docs + - /csrf + +# springdoc閰嶇疆 +springdoc: + webjars: + # 璁块棶鍓嶇紑 + prefix: +', 'ee8925ef3551150f3fe0de08c2ee02db', '2020-05-14 14:17:55', '2025-04-07 17:02:17', 'nacos', '192.168.50.11', '', '', '缃戝叧妯″潡', 'null', 'null', 'yaml', '', ''); +INSERT INTO nacosdb.config_info (id, data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema, encrypted_data_key) VALUES (3, 'aps-auth-dev.yml', 'DEFAULT_GROUP', 'spring: + data: + redis: + host: 192.168.50.160 + port: 6379 + password: +', '3f21fcd3da2a9d52e8fbd8114387624e', '2020-11-20 00:00:00', '2025-04-07 17:24:40', 'nacos', '192.168.50.11', '', '', '璁よ瘉涓績', 'null', 'null', 'yaml', '', ''); +INSERT INTO nacosdb.config_info (id, data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema, encrypted_data_key) VALUES (4, 'aps-monitor-dev.yml', 'DEFAULT_GROUP', '# spring +spring: + security: + user: + name: ruoyi + password: 123456 + boot: + admin: + ui: + title: 鑻ヤ緷鏈嶅姟鐘舵�佺洃鎺� +', '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', '', ''); +INSERT INTO nacosdb.config_info (id, data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema, encrypted_data_key) VALUES (5, 'aps-system-dev.yml', 'DEFAULT_GROUP', '# spring閰嶇疆 +spring: + data: + redis: + host: 192.168.50.160 + port: 6379 + password: + datasource: + druid: + stat-view-servlet: + enabled: true + loginUsername: ruoyi + loginPassword: 123456 + dynamic: + druid: + initial-size: 5 + min-idle: 5 + maxActive: 20 + maxWait: 60000 + connectTimeout: 30000 + socketTimeout: 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://192.168.50.160:3306/aps?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + username: root + password: root + # 浠庡簱鏁版嵁婧� + # slave: + # username: + # password: + # url: + # driver-class-name: + +# mybatis閰嶇疆 +mybatis: + # 鎼滅储鎸囧畾鍖呭埆鍚� + typeAliasesPackage: com.aps.system + # 閰嶇疆mapper鐨勬壂鎻忥紝鎵惧埌鎵�鏈夌殑mapper.xml鏄犲皠鏂囦欢 + mapperLocations: classpath:mapper/**/*.xml + +# springdoc閰嶇疆 +springdoc: + gatewayUrl: http://localhost:8080/${spring.application.name} + api-docs: + # 鏄惁寮�鍚帴鍙f枃妗� + enabled: true + info: + # 鏍囬 + title: \'绯荤粺妯″潡鎺ュ彛鏂囨。\' + # 鎻忚堪 + description: \'绯荤粺妯″潡鎺ュ彛鎻忚堪\' + # 浣滆�呬俊鎭� + contact: + name: RuoYi + url: https://ruoyi.vip +', '6c66febc9f748c76b2e154c8602c873b', '2020-11-20 00:00:00', '2025-04-07 16:11:52', 'nacos', '192.168.50.11', '', '', '绯荤粺妯″潡', 'null', 'null', 'yaml', '', ''); +INSERT INTO nacosdb.config_info (id, data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema, encrypted_data_key) VALUES (6, 'aps-gen-dev.yml', 'DEFAULT_GROUP', '# spring閰嶇疆 +spring: + data: + redis: + host: 192.168.50.160 + port: 6379 + password: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://192.168.50.160:3306/aps?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + username: root + password: root + +# mybatis閰嶇疆 +mybatis: + # 鎼滅储鎸囧畾鍖呭埆鍚� + typeAliasesPackage: com.aps.gen.domain + # 閰嶇疆mapper鐨勬壂鎻忥紝鎵惧埌鎵�鏈夌殑mapper.xml鏄犲皠鏂囦欢 + mapperLocations: classpath:mapper/**/*.xml + +# springdoc閰嶇疆 +springdoc: + gatewayUrl: http://localhost:8080/${spring.application.name} + api-docs: + # 鏄惁寮�鍚帴鍙f枃妗� + enabled: true + info: + # 鏍囬 + title: \'浠g爜鐢熸垚鎺ュ彛鏂囨。\' + # 鎻忚堪 + description: \'浠g爜鐢熸垚鎺ュ彛鎻忚堪\' + # 浣滆�呬俊鎭� + contact: + name: RuoYi + url: https://ruoyi.vip + +# 浠g爜鐢熸垚 +gen: + # 浣滆�� + author: ruoyi + # 榛樿鐢熸垚鍖呰矾寰� system 闇�鏀规垚鑷繁鐨勬ā鍧楀悕绉� 濡� system monitor tool + packageName: com.aps.system + # 鑷姩鍘婚櫎琛ㄥ墠缂�锛岄粯璁ゆ槸false + autoRemovePre: false + # 琛ㄥ墠缂�锛堢敓鎴愮被鍚嶄笉浼氬寘鍚〃鍓嶇紑锛屽涓敤閫楀彿鍒嗛殧锛� + tablePrefix: sys_ + # 鏄惁鍏佽鐢熸垚鏂囦欢瑕嗙洊鍒版湰鍦帮紙鑷畾涔夎矾寰勶級锛岄粯璁や笉鍏佽 + allowOverwrite: false', 'e4ba93191445229c050fb0d8adf33e40', '2020-11-20 00:00:00', '2025-04-07 16:12:49', 'nacos', '192.168.50.11', '', '', '浠g爜鐢熸垚', 'null', 'null', 'yaml', '', ''); +INSERT INTO nacosdb.config_info (id, data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema, encrypted_data_key) VALUES (7, 'aps-job-dev.yml', 'DEFAULT_GROUP', '# spring閰嶇疆 +spring: + data: + redis: + host: 192.168.50.160 + port: 6379 + password: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://192.168.50.160:3306/aps?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + username: root + password: root + +# mybatis閰嶇疆 +mybatis: + # 鎼滅储鎸囧畾鍖呭埆鍚� + typeAliasesPackage: com.aps.job.domain + # 閰嶇疆mapper鐨勬壂鎻忥紝鎵惧埌鎵�鏈夌殑mapper.xml鏄犲皠鏂囦欢 + mapperLocations: classpath:mapper/**/*.xml + +# springdoc閰嶇疆 +springdoc: + gatewayUrl: http://localhost:8080/${spring.application.name} + api-docs: + # 鏄惁寮�鍚帴鍙f枃妗� + enabled: true + info: + # 鏍囬 + title: \'瀹氭椂浠诲姟鎺ュ彛鏂囨。\' + # 鎻忚堪 + description: \'瀹氭椂浠诲姟鎺ュ彛鎻忚堪\' + # 浣滆�呬俊鎭� + contact: + name: RuoYi + url: https://ruoyi.vip +', 'd7e620e824a0638ebeea7572132572d8', '2020-11-20 00:00:00', '2025-04-07 16:13:34', 'nacos', '192.168.50.11', '', '', '瀹氭椂浠诲姟', 'null', 'null', 'yaml', '', ''); +INSERT INTO nacosdb.config_info (id, data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema, encrypted_data_key) VALUES (8, 'aps-file-dev.yml', 'DEFAULT_GROUP', '# 鏈湴鏂囦欢涓婁紶 +file: + domain: http://192.168.50.160:9300 + path: /opt/aps + prefix: /statics +', 'ad5b42ee7848f2374859960cf9e861ca', '2020-11-20 00:00:00', '2025-04-07 17:45:55', 'nacos', '192.168.50.11', '', '', '鏂囦欢鏈嶅姟', 'null', 'null', 'yaml', '', ''); +INSERT INTO nacosdb.config_info (id, data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema, encrypted_data_key) VALUES (9, 'sentinel-aps-gateway', 'DEFAULT_GROUP', '[ + { + "resource": "aps-auth", + "count": 500, + "grade": 1, + "limitApp": "default", + "strategy": 0, + "controlBehavior": 0 + }, + { + "resource": "aps-system", + "count": 1000, + "grade": 1, + "limitApp": "default", + "strategy": 0, + "controlBehavior": 0 + }, + { + "resource": "aps-gen", + "count": 200, + "grade": 1, + "limitApp": "default", + "strategy": 0, + "controlBehavior": 0 + }, + { + "resource": "aps-job", + "count": 300, + "grade": 1, + "limitApp": "default", + "strategy": 0, + "controlBehavior": 0 + } +]', '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, ''); /******************************************/ -- Gitblit v1.9.3