diff --git a/byd-structuredplugins-serve/laws-base/laws-base-core/src/main/java/com/jero/common/aspect/DictAspect.java b/byd-structuredplugins-serve/laws-base/laws-base-core/src/main/java/com/jero/common/aspect/DictAspect.java index 1b769f8..7225197 100644 --- a/byd-structuredplugins-serve/laws-base/laws-base-core/src/main/java/com/jero/common/aspect/DictAspect.java +++ b/byd-structuredplugins-serve/laws-base/laws-base-core/src/main/java/com/jero/common/aspect/DictAspect.java @@ -395,7 +395,7 @@ public class DictAspect { continue; //跳过循环 } //update-begin--Author:scott -- Date:20210531 ----for: !56 优化微服务应用下存在表字段需要字典翻译时加载缓慢问题----- - tmpValue = getTmpValue(code, text, table, k, tmpValue); +// tmpValue = getTmpValue(code, text, table, k, tmpValue); //update-end--Author:scott -- Date:20210531 ----for: !56 优化微服务应用下存在表字段需要字典翻译时加载缓慢问题----- if (tmpValue != null) { diff --git a/byd-structuredplugins-serve/laws-single-startup/src/main/resources/application-dev.yml b/byd-structuredplugins-serve/laws-single-startup/src/main/resources/application-dev.yml index fa470a9..d9ca0af 100644 --- a/byd-structuredplugins-serve/laws-single-startup/src/main/resources/application-dev.yml +++ b/byd-structuredplugins-serve/laws-single-startup/src/main/resources/application-dev.yml @@ -178,40 +178,40 @@ spring: # max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。 # min-idle: 0 #最小等待连接中的数量,设 0 为没有限制 # shutdown-timeout: 100ms -# redis: -# database: 11 -# host: 121.36.69.172 -# #host: localhost -# lettuce: -# pool: -# max-active: 8 #最大连接数据库连接数,设 0 为没有限制 -# max-idle: 8 #最大等待连接中的数量,设 0 为没有限制 -# max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。 -# min-idle: 0 #最小等待连接中的数量,设 0 为没有限制 -# shutdown-timeout: 100ms -# password: hzwlsoft.com -# port: 4780 + redis: + database: 11 + host: 121.36.69.172 + #host: localhost + lettuce: + pool: + max-active: 8 #最大连接数据库连接数,设 0 为没有限制 + max-idle: 8 #最大等待连接中的数量,设 0 为没有限制 + max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。 + min-idle: 0 #最小等待连接中的数量,设 0 为没有限制 + shutdown-timeout: 100ms + password: hzwlsoft.com + port: 4780 # port: 6379 #rabbitmq 配置 -# rabbitmq: -# host: 121.36.69.172 -# username: admin -# password: hzwlsoft.com -# port: 5672 -# publisher-confirm-type: correlated -# publisher-returns: true -# virtual-host: / -# listener: -# simple: -# acknowledge-mode: manual -# #消费者的最小数量 -# concurrency: 1 -# #消费者的最大数量 -# max-concurrency: 1 -# #是否支持重试 -# retry: -# enabled: true + rabbitmq: + host: 121.36.69.172 + username: admin + password: hzwlsoft.com + port: 5672 + publisher-confirm-type: correlated + publisher-returns: true + virtual-host: / + listener: + simple: + acknowledge-mode: manual + #消费者的最小数量 + concurrency: 1 + #消费者的最大数量 + max-concurrency: 1 + #是否支持重试 + retry: + enabled: true #mybatis plus 设置 mybatis-plus: mapper-locations: classpath*:com/jero/**/xml/*Mapper.xml @@ -321,12 +321,12 @@ jero: # 文件限制后缀黑名单 fileSuffixLimits : 0x00,%00,\\00,.jsp,.exe,.php,.asp,.aspx,.jspx,.xml,.html,.js,.sh,.bin,$DATA # 跨站白名单 - whiteUrls: localhost:62345,localhost:8184,localhost:3334,localhost:3435,localhost:3408 + whiteUrls: localhost:62345,localhost:8184,localhost:3334,localhost:3435,localhost:3408,10.0.3.3:3408 xssExcludedPages: /login,/updatePassword # cors白名单 notFilter: # origin地址 - originIp: http://localhost:62345,http://localhost:8184,http://localhost:3334,http://localhost:3435,http://localhost:3408 + originIp: http://localhost:62345,http://localhost:8184,http://localhost:3334,http://localhost:3435,http://localhost:3408,http://10.0.3.3:3408 # 加密默认值 password: pbe: