From a61e6b684cd10cf1630ab6808b8d1cb640dfcd5c Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Wed, 23 Nov 2022 14:01:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=BF=87=E6=BB=A4=E5=99=A8):=20=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=90=8D=E4=B8=BAcount=E7=9A=84=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E6=8E=92=E5=BA=8F=E4=BC=9A=E8=A2=ABsql=E6=B3=A8=E5=85=A5?= =?UTF-8?q?=E6=8B=A6=E6=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application.properties | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/backend/src/main/resources/application.properties b/backend/src/main/resources/application.properties index 85a8ccf334..81d1e820a9 100644 --- a/backend/src/main/resources/application.properties +++ b/backend/src/main/resources/application.properties @@ -65,49 +65,49 @@ management.health.redis.enabled=false #management.server.port=8083 #management.endpoints.web.exposure.include=* #spring.freemarker.checkTemplateLocation=false -#RSA非对称加密参数:私钥 +#RSA\u975E\u5BF9\u79F0\u52A0\u5BC6\u53C2\u6570\uFF1A\u79C1\u94A5 rsa.private_key=MIIBUwIBADANBgkqhkiG9w0BAQEFAASCAT0wggE5AgEAAkEA0vfvyTdGJkdbHkB8mp0f3FE0GYP3AYPaJF7jUd1M0XxFSE2ceK3k2kw20YvQ09NJKk+OMjWQl9WitG9pB6tSCQIDAQABAkA2SimBrWC2/wvauBuYqjCFwLvYiRYqZKThUS3MZlebXJiLB+Ue/gUifAAKIg1avttUZsHBHrop4qfJCwAI0+YRAiEA+W3NK/RaXtnRqmoUUkb59zsZUBLpvZgQPfj1MhyHDz0CIQDYhsAhPJ3mgS64NbUZmGWuuNKp5coY2GIj/zYDMJp6vQIgUueLFXv/eZ1ekgz2Oi67MNCk5jeTF2BurZqNLR3MSmUCIFT3Q6uHMtsB9Eha4u7hS31tj1UWE+D+ADzp59MGnoftAiBeHT7gDMuqeJHPL4b+kC+gzV4FGTfhR9q3tTbklZkD2A== rsa.public_key=MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANL378k3RiZHWx5AfJqdH9xRNBmD9wGD2iRe41HdTNF8RUhNnHit5NpMNtGL0NPTSSpPjjI1kJfVorRvaQerUgkCAwEAAQ== #spring.cache.type=ehcache spring.cache.ehcache.config=classpath:/ehcache/ehcache.xml -#打印URL路径 +#\u6253\u5370URL\u8DEF\u5F84 #logging.level.org.springframework.web=trace #logging.level.org.springframework.boot.web=trace #spring.mvc.log-request-details=true pagehelper.PageRowBounds=true -#excel等用户上传文件路径 +#excel\u7B49\u7528\u6237\u4E0A\u4F20\u6587\u4EF6\u8DEF\u5F84 upload.file.path=/opt/dataease/data/kettle/ -dataease.sqlinjection.whitelists=/dataset/table/sqlPreview,/dataset/table/update +dataease.sqlinjection.whitelists=/dataset/table/sqlPreview,/dataset/table/update,/dataset/field/multFieldValues,/dataset/field/linkMultFieldValues -#开启压缩 提高响应速度 减少带宽压力 +#\u5F00\u542F\u538B\u7F29 \u63D0\u9AD8\u54CD\u5E94\u901F\u5EA6 \u51CF\u5C11\u5E26\u5BBD\u538B\u529B server.compression.enabled=true server.compression.mime-types=application/javascript,text/css,application/json,application/xml,text/html,text/xml,text/plain server.compression.min-response-size=1024 -#下面的配置新增到/opt/dataease/conf/dataease/properties -#缓存类型 +#\u4E0B\u9762\u7684\u914D\u7F6E\u65B0\u589E\u5230/opt/dataease/conf/dataease/properties +#\u7F13\u5B58\u7C7B\u578B ##spring.cache.type=redis #spring.cache.type=ehcache -#redis公共配置 +#redis\u516C\u5171\u914D\u7F6E #spring.redis.timeout=10000 #spring.redis.lettuce.pool.max-active=8 #spring.redis.lettuce.pool.max-wait=-1 #spring.redis.lettuce.pool.max-idle=8 -#单机模式redis配置 +#\u5355\u673A\u6A21\u5F0Fredis\u914D\u7F6E #spring.redis.database=0 #spring.redis.host=192.168.0.110 #spring.redis.port=6379 #spring.redis.password=DataEase_ZNB@REDIS -#哨兵模式redis配置 +#\u54E8\u5175\u6A21\u5F0Fredis\u914D\u7F6E #spring.redis.sentinel.master=mymaster #spring.redis.sentinel.nodes=192.168.0.110:26379,192.168.0.110:26380,192.168.0.110:26381 #spring.redis.sentinel.password= -#cluster模式redis配置 +#cluster\u6A21\u5F0Fredis\u914D\u7F6E #spring.redis.cluster.nodes=192.168.0.110:7001,192.168.0.110:7002,192.168.0.110:7003,192.168.0.110:7004,192.168.0.110:7005,192.168.0.110:7006 #spring.redis.cluster.max-redirects=3 #spring.redis.password=DataEase_ZNB@REDIS