From c8641cc88b01d2f8196e05c3076024aaa0420ad3 Mon Sep 17 00:00:00 2001 From: yxz <2421405387@qq.com> Date: Fri, 7 Nov 2025 16:07:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=8E=AF=E5=A2=83=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-test.yml | 25 ++++++------------- .../src/main/resources/application.yml | 3 ++- 2 files changed, 9 insertions(+), 19 deletions(-) diff --git a/java/nft-api/src/main/resources/application-test.yml b/java/nft-api/src/main/resources/application-test.yml index 5ef1c83..db112e5 100644 --- a/java/nft-api/src/main/resources/application-test.yml +++ b/java/nft-api/src/main/resources/application-test.yml @@ -13,29 +13,18 @@ spring: strict: false #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源 datasource: nft: - url: jdbc:mysql://10.0.0.2:3306/digitalcenter_test?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true - username: nft - password: nft + url: jdbc:mysql://bj-cynosdbmysql-grp-anccz88g.sql.tencentcdb.com:24808/smd_uthmeta_test?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true + username: root + password: Cpop2022@ wxnft: url: jdbc:mysql://bj-cynosdbmysql-grp-anccz88g.sql.tencentcdb.com:24808/wx_uthmeta?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true username: root password: Cpop2022@ -# redis: -# host: 10.0.0.5 -# port: 6379 -# database: 9 -# lettuce: -# pool: -# timeout: 2s -# max-active: 300 -# max-wait: 60s -# max-idle: 200 -# min-idle: 5 redis: - host: 10.0.0.5 - port: 6379 -# password: Cpop2022@ - database: 4 + host: gz-crs-lv77ii2t.sql.tencentcdb.com + port: 27714 + password: Cpop2022@ + database: 9 lettuce: pool: timeout: 2s diff --git a/java/nft-api/src/main/resources/application.yml b/java/nft-api/src/main/resources/application.yml index f17b59f..f83b962 100644 --- a/java/nft-api/src/main/resources/application.yml +++ b/java/nft-api/src/main/resources/application.yml @@ -9,7 +9,7 @@ spring: pathmatch: matching-strategy: ANT_PATH_MATCHER profiles: - active: dev + active: test mybatis-plus: configuration: @@ -41,6 +41,7 @@ cpop: - /v2/api-docs-ext - /webjars/** - /activity/simple/** + - /nft/browser/** jwt: security-key: 5681061ce61f8694852443dcf9b9a2f3 subject: nft