From 52dcd143ff2e0178ea85e503874d43fa5d649d54 Mon Sep 17 00:00:00 2001 From: xiaowang <2161656029@qq.com> Date: Tue, 15 Sep 2026 20:55:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DSIT=E7=9F=AD=E4=BF=A1?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jayucloud-salon/DEFAULT_GROUP/core.yaml | 272 +++++++++--------- 1 file changed, 136 insertions(+), 136 deletions(-) diff --git a/nacos/namespaces/sit/jayucloud-salon/DEFAULT_GROUP/core.yaml b/nacos/namespaces/sit/jayucloud-salon/DEFAULT_GROUP/core.yaml index 4c5b5ca6..1bb96f7d 100644 --- a/nacos/namespaces/sit/jayucloud-salon/DEFAULT_GROUP/core.yaml +++ b/nacos/namespaces/sit/jayucloud-salon/DEFAULT_GROUP/core.yaml @@ -1,146 +1,146 @@ -spring: - datasource: - url: jdbc:mysql://192.168.10.102:3306/jayucloud_salon?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai - servlet: - multipart: - max-file-size: 5MB - max-request-size: 10MB - jackson: - time-zone: Asia/Shanghai - date-format: yyyy-MM-dd HH:mm:ss - -logging: - pattern: - console: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n" - -server: - servlet: - encoding: - charset: UTF-8 - force: true - enabled: true - timezone: Asia/Shanghai - -mybatis: - configuration: - map-underscore-to-camel-case: true - +spring: + datasource: + url: jdbc:mysql://192.168.10.11:3306/jayucloud_salon?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai + servlet: + multipart: + max-file-size: 5MB + max-request-size: 10MB + jackson: + time-zone: Asia/Shanghai + date-format: yyyy-MM-dd HH:mm:ss + +logging: + pattern: + console: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n" + +server: + servlet: + encoding: + charset: UTF-8 + force: true + enabled: true + timezone: Asia/Shanghai + +mybatis: + configuration: + map-underscore-to-camel-case: true + fingertip-designer: - brand: - message-template-name: ${PLATFORM_MESSAGE_TEMPLATE_NAME:JayuCloud-Salon} - manager-register-shop-description: ${PLATFORM_MANAGER_REGISTER_SHOP_DESCRIPTION:甲屿店务注册店铺} - security: - jwt: - issuer: jayucloud-salon - access-token-expiration-seconds: 7200 - remember-me-access-token-expiration-seconds: 604800 - refresh-token-expiration-seconds: 604800 - clock-skew-seconds: 30 - signature: - enabled: true - window-seconds: 300 - nonce-retention-seconds: 600 - rate-limit: - login: - limit: 10 - window-seconds: 60 - send-code: - limit: 5 - window-seconds: 60 - reset-password: - limit: 5 - window-seconds: 600 - authenticated-write: - limit: 80 - window-seconds: 60 - order-create: - limit: 10 - window-seconds: 60 - cache: - local-max-size: 2048 - product-detail: - local-ttl-seconds: 120 - redis-ttl-seconds: 900 - product-list: - local-ttl-seconds: 60 - redis-ttl-seconds: 300 - product-search: - local-ttl-seconds: 60 - redis-ttl-seconds: 300 - shop: - local-ttl-seconds: 180 - redis-ttl-seconds: 900 - tag: - local-ttl-seconds: 300 - redis-ttl-seconds: 1200 - object-storage-file: - local-ttl-seconds: 300 - redis-ttl-seconds: 1800 - dashboard: - local-ttl-seconds: 30 - redis-ttl-seconds: 90 - slow-request: - enabled: true - threshold-ms: 300 - log-response-header-request-id: true + brand: + message-template-name: ${PLATFORM_MESSAGE_TEMPLATE_NAME:JayuCloud-Salon} + manager-register-shop-description: ${PLATFORM_MANAGER_REGISTER_SHOP_DESCRIPTION:甲屿店务注册店铺} + security: + jwt: + issuer: jayucloud-salon + access-token-expiration-seconds: 7200 + remember-me-access-token-expiration-seconds: 604800 + refresh-token-expiration-seconds: 604800 + clock-skew-seconds: 30 + signature: + enabled: true + window-seconds: 300 + nonce-retention-seconds: 600 + rate-limit: + login: + limit: 10 + window-seconds: 60 + send-code: + limit: 5 + window-seconds: 60 + reset-password: + limit: 5 + window-seconds: 600 + authenticated-write: + limit: 80 + window-seconds: 60 + order-create: + limit: 10 + window-seconds: 60 + cache: + local-max-size: 2048 + product-detail: + local-ttl-seconds: 120 + redis-ttl-seconds: 900 + product-list: + local-ttl-seconds: 60 + redis-ttl-seconds: 300 + product-search: + local-ttl-seconds: 60 + redis-ttl-seconds: 300 + shop: + local-ttl-seconds: 180 + redis-ttl-seconds: 900 + tag: + local-ttl-seconds: 300 + redis-ttl-seconds: 1200 + object-storage-file: + local-ttl-seconds: 300 + redis-ttl-seconds: 1800 + dashboard: + local-ttl-seconds: 30 + redis-ttl-seconds: 90 + slow-request: + enabled: true + threshold-ms: 300 + log-response-header-request-id: true http-client: - connect-timeout-ms: 3000 - read-timeout-ms: 5000 - connection-request-timeout-ms: 1000 - max-total-connections: 200 + connect-timeout-ms: 3000 + read-timeout-ms: 5000 + connection-request-timeout-ms: 1000 + max-total-connections: 200 max-connections-per-route: 50 messagehub: client: - base-url: ${MESSAGEHUB_BASE_URL:http://192.168.10.107:8080} + base-url: ${MESSAGEHUB_BASE_URL:http://192.168.10.16:8080} access-token: ${MESSAGEHUB_ACCESS_TOKEN:} ingress-exchange: ${MESSAGEHUB_INGRESS_EXCHANGE:messagehub.ingress.exchange} ingress-routing-key: ${MESSAGEHUB_INGRESS_ROUTING_KEY:message.send} source-system: ${MESSAGEHUB_SOURCE_SYSTEM:jayucloud-salon} - -object-storage: - provider-order: - - MINIO - - QINIU_KODO - - ALIYUN_OSS - replica-required-providers: - - MINIO - - QINIU_KODO - - ALIYUN_OSS - primary-provider: MINIO - backup-provider: QINIU_KODO,ALIYUN_OSS - signed-url-expire-minutes: 60 - backup-queue-name: jayucloud-salon.file.object-storage.backup.queue - backup-exchange-name: jayucloud-salon.file.object-storage.backup.exchange - backup-routing-key: jayucloud-salon.file.object-storage.backup - backup-retry-batch-limit: 500 - backup-retry-cron: "0 0 2 * * ?" - -qiniu: - kodo: - access-key: ${QINIU_KODO_ACCESS_KEY:} - secret-key: ${QINIU_KODO_SECRET_KEY:} - bucket-name: ${QINIU_KODO_BUCKET_NAME:jayucloud-sit} - domain: ${QINIU_KODO_DOMAIN:https://img.yunail.art} - zone: ${QINIU_KODO_ZONE:z2} - private-bucket: ${QINIU_KODO_PRIVATE_BUCKET:true} - signed-url-expire-minutes: ${QINIU_KODO_SIGNED_URL_EXPIRE_MINUTES:60} - -minio: - enabled: ${MINIO_ENABLED:false} - endpoint: ${MINIO_ENDPOINT:http://192.168.5.15:9000} - bucket-name: ${MINIO_BUCKET_NAME:jayucloud-sit} - access-key: ${MINIO_ACCESS_KEY:} - secret-key: ${MINIO_SECRET_KEY:} - private-bucket: ${MINIO_PRIVATE_BUCKET:true} - signed-url-expire-minutes: ${MINIO_SIGNED_URL_EXPIRE_MINUTES:60} - -aliyun: - oss: - enabled: ${ALIYUN_OSS_ENABLED:false} - endpoint: ${ALIYUN_OSS_ENDPOINT:https://oss-cn-chengdu.aliyuncs.com} - region: ${ALIYUN_OSS_REGION:cn-chengdu} - bucket-name: ${ALIYUN_OSS_BUCKET_NAME:jayucloud-sit} - access-key-id: ${ALIYUN_OSS_ACCESS_KEY_ID:} - access-key-secret: ${ALIYUN_OSS_ACCESS_KEY_SECRET:} - signed-url-expire-minutes: ${ALIYUN_OSS_SIGNED_URL_EXPIRE_MINUTES:60} + +object-storage: + provider-order: + - MINIO + - QINIU_KODO + - ALIYUN_OSS + replica-required-providers: + - MINIO + - QINIU_KODO + - ALIYUN_OSS + primary-provider: MINIO + backup-provider: QINIU_KODO,ALIYUN_OSS + signed-url-expire-minutes: 60 + backup-queue-name: jayucloud-salon.file.object-storage.backup.queue + backup-exchange-name: jayucloud-salon.file.object-storage.backup.exchange + backup-routing-key: jayucloud-salon.file.object-storage.backup + backup-retry-batch-limit: 500 + backup-retry-cron: "0 0 2 * * ?" + +qiniu: + kodo: + access-key: ${QINIU_KODO_ACCESS_KEY:} + secret-key: ${QINIU_KODO_SECRET_KEY:} + bucket-name: ${QINIU_KODO_BUCKET_NAME:jayucloud-sit} + domain: ${QINIU_KODO_DOMAIN:https://img.yunail.art} + zone: ${QINIU_KODO_ZONE:z2} + private-bucket: ${QINIU_KODO_PRIVATE_BUCKET:true} + signed-url-expire-minutes: ${QINIU_KODO_SIGNED_URL_EXPIRE_MINUTES:60} + +minio: + enabled: ${MINIO_ENABLED:false} + endpoint: ${MINIO_ENDPOINT:http://192.168.5.15:9000} + bucket-name: ${MINIO_BUCKET_NAME:jayucloud-sit} + access-key: ${MINIO_ACCESS_KEY:} + secret-key: ${MINIO_SECRET_KEY:} + private-bucket: ${MINIO_PRIVATE_BUCKET:true} + signed-url-expire-minutes: ${MINIO_SIGNED_URL_EXPIRE_MINUTES:60} + +aliyun: + oss: + enabled: ${ALIYUN_OSS_ENABLED:false} + endpoint: ${ALIYUN_OSS_ENDPOINT:https://oss-cn-chengdu.aliyuncs.com} + region: ${ALIYUN_OSS_REGION:cn-chengdu} + bucket-name: ${ALIYUN_OSS_BUCKET_NAME:jayucloud-sit} + access-key-id: ${ALIYUN_OSS_ACCESS_KEY_ID:} + access-key-secret: ${ALIYUN_OSS_ACCESS_KEY_SECRET:} + signed-url-expire-minutes: ${ALIYUN_OSS_SIGNED_URL_EXPIRE_MINUTES:60}