32 files added
7 files modified
| | |
| | | *.iml |
| | | *.gitignore |
| | | *.log |
| | | *.yml |
| | | |
| | | |
| | | target |
| | | logs |
| | |
| | | package cn.huge.module.ctuser.service; |
| | | |
| | | import cn.huge.base.common.bo.R; |
| | | import cn.huge.base.common.bo.ReturnBO; |
| | | import cn.huge.base.common.exception.ServiceException; |
| | | import cn.huge.base.common.utils.*; |
| | |
| | | import cn.huge.module.ctuser.domain.po.*; |
| | | import cn.huge.module.ctuser.dto.*; |
| | | import cn.huge.module.cust.constant.UserBaseConsts; |
| | | import cn.huge.module.rsoper.domain.po.RsRole; |
| | | import cn.huge.module.sys.dto.GridTokenBaseDTO; |
| | | import cn.huge.module.sys.dto.GridUserBaseDTO; |
| | | import cn.huge.module.sys.dto.GridUserRoleDTO; |
| | | import cn.huge.module.sys.vo.GridRoleMenuVo; |
| | | import cn.huge.module.sys.vo.GridUserRoleVo; |
| | | import cn.huge.module.utils.JwtUtils; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.data.domain.Page; |
| | | import org.springframework.data.domain.PageImpl; |
| | | import org.springframework.data.domain.PageRequest; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.util.DigestUtils; |
| | | |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9004 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-cust |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:dm://183.2.142.46:9016?schema=HUGETEST |
| | | username: HUGEINFO |
| | | password: hugeinfo123@ |
| | | driver-class-name: dm.jdbc.driver.DmDriver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | test-while-idle: true |
| | | min-idle: 10 |
| | | initial-size: 10 |
| | | max-active: 50 |
| | | time-between-eviction-runs-millis: 60000 |
| | | min-evictable-idle-time-millis: 600000 |
| | | # 用来验证数据库连接是否仍然可用的 SQL 查询 |
| | | validation-query: SELECT 1 |
| | | |
| | | # redis配置,单机版,集群另外配置 |
| | | redis: |
| | | host: 183.2.142.21 |
| | | port: 9017 |
| | | password: hugeinfo123 |
| | | # 使用的Redis数据库索引(默认为0) |
| | | database: 0 |
| | | # 连接超时时间(毫秒) |
| | | timeout: 5000 |
| | | lettuce: |
| | | pool: |
| | | # 连接池最大连接数 |
| | | max-active: 100 |
| | | # 连接池最大阻塞等待时间 |
| | | max-wait: 100000 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 10 |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://localhost:9001/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9004 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-cust |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:dm://10.202.1.61:5236?schema=HUGEINFO |
| | | username: HUGEINFO |
| | | password: Hugeinfo@123 |
| | | driver-class-name: dm.jdbc.driver.DmDriver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | stat-view-servlet: |
| | | enabled: false |
| | | test-while-idle: true |
| | | min-idle: 10 |
| | | initial-size: 10 |
| | | max-active: 50 |
| | | time-between-eviction-runs-millis: 60000 |
| | | min-evictable-idle-time-millis: 600000 |
| | | # 用来验证数据库连接是否仍然可用的 SQL 查询 |
| | | validation-query: SELECT 1 |
| | | |
| | | # redis配置,单机版,集群另外配置 |
| | | redis: |
| | | host: 10.202.1.72 |
| | | port: 6379 |
| | | password: hugeinfo123@ |
| | | # 使用的Redis数据库索引(默认为0) |
| | | database: 0 |
| | | # 连接超时时间(毫秒) |
| | | timeout: 5000 |
| | | lettuce: |
| | | pool: |
| | | # 连接池最大连接数 |
| | | max-active: 100 |
| | | # 连接池最大阻塞等待时间 |
| | | max-wait: 100000 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 10 |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://10.202.1.73:9001/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9004 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-cust |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:dm://10.202.1.63:5236?schema=HUGETEST |
| | | username: HUGETEST |
| | | password: Hugeinfo@123 |
| | | driver-class-name: dm.jdbc.driver.DmDriver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | stat-view-servlet: |
| | | enabled: false |
| | | test-while-idle: true |
| | | min-idle: 10 |
| | | initial-size: 10 |
| | | max-active: 50 |
| | | time-between-eviction-runs-millis: 60000 |
| | | min-evictable-idle-time-millis: 600000 |
| | | # 用来验证数据库连接是否仍然可用的 SQL 查询 |
| | | validation-query: SELECT 1 |
| | | |
| | | # redis配置,单机版,集群另外配置 |
| | | redis: |
| | | host: 10.202.1.72 |
| | | port: 6379 |
| | | password: hugeinfo123@ |
| | | # 使用的Redis数据库索引(默认为0) |
| | | database: 0 |
| | | # 连接超时时间(毫秒) |
| | | timeout: 5000 |
| | | lettuce: |
| | | pool: |
| | | # 连接池最大连接数 |
| | | max-active: 100 |
| | | # 连接池最大阻塞等待时间 |
| | | max-wait: 100000 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 10 |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://10.202.1.75:9001/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
New file |
| | |
| | | #Spring配置 |
| | | spring: |
| | | profiles: |
| | | active: |
| | | # - dev |
| | | # - test |
| | | - prod |
| | | |
| | | devtools: |
| | | restart: |
| | | enabled: true |
| | | servlet: |
| | | multipart: |
| | | max-file-size: -1 |
| | | max-request-size: -1 |
| | | main: |
| | | #可以重复命名配置 |
| | | allow-bean-definition-overriding: true |
| | | allow-circular-references: true |
| | | |
| | | #server配置 |
| | | server: |
| | | #服务时限配置 |
| | | tomcat: |
| | | min-spare-threads: 100 |
| | | max-threads: 256 |
| | | connection-timeout: 8000 |
| | | main: |
| | | #可以重复命名配置 |
| | | allow-bean-definition-overriding: true |
| | | |
| | | #ribbon配置 |
| | | ribbon: |
| | | #服务之间调用,请求处理超时时间 |
| | | ReadTimeout: 120000 |
| | | #服务之间调用,请求连接的超时时间 |
| | | ConnectTimeout: 30000 |
| | | |
| | | #mybatis-plus配置 |
| | | mybatis-plus: |
| | | configuration: |
| | | #控制台输出sql语句 |
| | | log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
| | | # log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl |
| | | #配置返回数据库(column下划线命名&&返回java实体是驼峰命名),自动匹配无需as(没开启这个,SQL需要写as) |
| | | ap-underscore-to-camel-case: true |
| | | #如何自动映射列到字段或属性,NONE:表示取消自动映射;PARTIAL:只会自动映射没有定义嵌套结果集映射的结果集。FULL:会自动映射任意复杂的结果集(无论是否嵌套)。默认是partial,这是一种全局设置 |
| | | auto-mapping-behavior: full |
| | | global-config: |
| | | db-config: |
| | | #驼峰下划线转换 |
| | | column-underline: false |
| | | #数据库大写下划线转换 |
| | | capital-mode: true |
| | | #全局逻辑删除的实体字段名 |
| | | #logic-delete-field: flag |
| | | #逻辑未删除值(默认为 0),实体类字段需要加上@TableLogic |
| | | logic-not-delete-value: 0 |
| | | #逻辑已删除值(默认为 1) |
| | | logic-delete-value: 1 |
| | | #字段策略,IGNORED:忽略判断,NOT_NULL:非null判断,NOT_EMPTY:非空判断,DEFAULT:默认,NEVER:不加入sql |
| | | update-strategy: IGNORED |
| | | mapper-locations: classpath*:/cn/huge/*/*/dao/mapper/xml/*Mapper.xml |
| | | |
| | | #JWT配置 |
| | | jwt: |
| | | #jwt生成密钥 |
| | | secret-key: asdfghjkl |
| | | #用户 |
| | | iss-user: HUGEINFO |
| | | refresh-token-key: |
| | | #refreshToken 存储key |
| | | format: JWT_REFRESH_TOKEN::%s |
| | | blacklist-key: |
| | | #token黑名单 存储key |
| | | format: JWT_BLACKLIST::%s |
| | | token: |
| | | #token过期时间:12小时 |
| | | expire-time: 43200000 |
| | | refresh-token: |
| | | #refreshToken过期时间:13小时,比token时间长一点 |
| | | expire-time: 46800000 |
| | |
| | | <if test="terms.city != null and terms.city !=''"> |
| | | and city = #{terms.city} |
| | | </if> |
| | | <if test="terms.unitGrade != null and terms.unitGrade !=''"> |
| | | and unit_grade = #{terms.unitGrade} |
| | | </if> |
| | | </if> |
| | | </sql> |
| | | |
| | |
| | | caseDisp.setDispStatus(DispBaseConsts.DISP_STATUS_2); |
| | | // 默认流转到对应综治中心处理 |
| | | Map<String, Object> terms = Maps.newHashMap(); |
| | | terms.put("unitGrade",highTargetLevel); |
| | | // 镇街综治中心 |
| | | if (UserBaseConsts.UNIT_GRADE_3 == highTargetLevel) { |
| | | terms.put("road", dispCaseBaseDTO.getQueRoad()); |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9005 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-disp |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:dm://183.2.142.46:9016?schema=HUGETEST |
| | | username: HUGEINFO |
| | | password: hugeinfo123@ |
| | | driver-class-name: dm.jdbc.driver.DmDriver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | test-while-idle: true |
| | | min-idle: 10 |
| | | initial-size: 10 |
| | | max-active: 50 |
| | | time-between-eviction-runs-millis: 60000 |
| | | min-evictable-idle-time-millis: 600000 |
| | | # 用来验证数据库连接是否仍然可用的 SQL 查询 |
| | | validation-query: SELECT 1 |
| | | |
| | | # redis配置,单机版,集群另外配置 |
| | | redis: |
| | | host: 183.2.142.21 |
| | | port: 9017 |
| | | password: hugeinfo123 |
| | | # 使用的Redis数据库索引(默认为0) |
| | | database: 0 |
| | | # 连接超时时间(毫秒) |
| | | timeout: 5000 |
| | | lettuce: |
| | | pool: |
| | | # 连接池最大连接数 |
| | | max-active: 100 |
| | | # 连接池最大阻塞等待时间 |
| | | max-wait: 100000 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 10 |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://localhost:9001/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9005 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-disp |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:dm://10.202.1.61:5236?schema=HUGEINFO |
| | | username: HUGEINFO |
| | | password: Hugeinfo@123 |
| | | driver-class-name: dm.jdbc.driver.DmDriver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | test-while-idle: true |
| | | min-idle: 10 |
| | | initial-size: 10 |
| | | max-active: 50 |
| | | time-between-eviction-runs-millis: 60000 |
| | | min-evictable-idle-time-millis: 600000 |
| | | # 用来验证数据库连接是否仍然可用的 SQL 查询 |
| | | validation-query: SELECT 1 |
| | | |
| | | # redis配置,单机版,集群另外配置 |
| | | redis: |
| | | host: 10.202.1.72 |
| | | port: 6379 |
| | | password: hugeinfo123@ |
| | | # 使用的Redis数据库索引(默认为0) |
| | | database: 0 |
| | | # 连接超时时间(毫秒) |
| | | timeout: 5000 |
| | | lettuce: |
| | | pool: |
| | | # 连接池最大连接数 |
| | | max-active: 100 |
| | | # 连接池最大阻塞等待时间 |
| | | max-wait: 100000 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 10 |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://10.202.1.73:9001/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9005 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-disp |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:dm://10.202.1.63:5236?schema=HUGETEST |
| | | username: HUGETEST |
| | | password: Hugeinfo@123 |
| | | driver-class-name: dm.jdbc.driver.DmDriver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | test-while-idle: true |
| | | min-idle: 10 |
| | | initial-size: 10 |
| | | max-active: 50 |
| | | time-between-eviction-runs-millis: 60000 |
| | | min-evictable-idle-time-millis: 600000 |
| | | # 用来验证数据库连接是否仍然可用的 SQL 查询 |
| | | validation-query: SELECT 1 |
| | | |
| | | # redis配置,单机版,集群另外配置 |
| | | redis: |
| | | host: 10.202.1.72 |
| | | port: 6379 |
| | | password: hugeinfo123@ |
| | | # 使用的Redis数据库索引(默认为0) |
| | | database: 0 |
| | | # 连接超时时间(毫秒) |
| | | timeout: 5000 |
| | | lettuce: |
| | | pool: |
| | | # 连接池最大连接数 |
| | | max-active: 100 |
| | | # 连接池最大阻塞等待时间 |
| | | max-wait: 100000 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 10 |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://10.202.1.75:9001/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
New file |
| | |
| | | #Spring配置 |
| | | spring: |
| | | profiles: |
| | | active: |
| | | # - dev |
| | | # - test |
| | | - prod |
| | | |
| | | devtools: |
| | | restart: |
| | | enabled: true |
| | | servlet: |
| | | multipart: |
| | | max-file-size: -1 |
| | | max-request-size: -1 |
| | | main: |
| | | #可以重复命名配置 |
| | | allow-bean-definition-overriding: true |
| | | allow-circular-references: true |
| | | |
| | | #server配置 |
| | | server: |
| | | #服务时限配置 |
| | | tomcat: |
| | | min-spare-threads: 100 |
| | | max-threads: 256 |
| | | connection-timeout: 8000 |
| | | main: |
| | | #可以重复命名配置 |
| | | allow-bean-definition-overriding: true |
| | | |
| | | #ribbon配置 |
| | | ribbon: |
| | | #服务之间调用,请求处理超时时间 |
| | | ReadTimeout: 120000 |
| | | #服务之间调用,请求连接的超时时间 |
| | | ConnectTimeout: 30000 |
| | | |
| | | #mybatis-plus配置 |
| | | mybatis-plus: |
| | | configuration: |
| | | #控制台输出sql语句 |
| | | log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
| | | # log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl |
| | | #配置返回数据库(column下划线命名&&返回java实体是驼峰命名),自动匹配无需as(没开启这个,SQL需要写as) |
| | | ap-underscore-to-camel-case: true |
| | | #如何自动映射列到字段或属性,NONE:表示取消自动映射;PARTIAL:只会自动映射没有定义嵌套结果集映射的结果集。FULL:会自动映射任意复杂的结果集(无论是否嵌套)。默认是partial,这是一种全局设置 |
| | | auto-mapping-behavior: full |
| | | global-config: |
| | | db-config: |
| | | #驼峰下划线转换 |
| | | column-underline: false |
| | | #数据库大写下划线转换 |
| | | capital-mode: true |
| | | #全局逻辑删除的实体字段名 |
| | | #logic-delete-field: flag |
| | | #逻辑未删除值(默认为 0),实体类字段需要加上@TableLogic |
| | | logic-not-delete-value: 0 |
| | | #逻辑已删除值(默认为 1) |
| | | logic-delete-value: 1 |
| | | #字段策略,IGNORED:忽略判断,NOT_NULL:非null判断,NOT_EMPTY:非空判断,DEFAULT:默认,NEVER:不加入sql |
| | | update-strategy: IGNORED |
| | | mapper-locations: classpath*:/cn/huge/*/*/dao/mapper/xml/*Mapper.xml |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9013 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-know |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:mysql://183.2.142.21:9018/ai |
| | | username: root |
| | | password: hugeinfo123 |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | stat-view-servlet: |
| | | # 关闭 Druid 的统计视图 |
| | | enabled: false |
| | | # 定期检查空闲连接的有效性 |
| | | test-while-idle: true |
| | | # 用来验证数据库连接是否仍然可用的 SQL 查询 |
| | | validation-query: SELECT 1 |
| | | # dynamic: |
| | | # enabled: true #启用动态数据源,默认true |
| | | # primary: master #设置默认的数据源或者数据源组,默认值即为master |
| | | # strict: false #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源 |
| | | # grace-destroy: false #是否优雅关闭数据源,默认为false,设置为true时,关闭数据源时如果数据源中还存在活跃连接,至多等待10s后强制关闭 |
| | | # datasource: |
| | | # master: |
| | | # jdbc-url: jdbc:dm://183.2.142.46:9016?schema=HUGETEST |
| | | # username: HUGEINFO |
| | | # password: hugeinfo123@ |
| | | # driver-class-name: dm.jdbc.driver.DmDriver |
| | | # type: com.alibaba.druid.pool.DruidDataSource |
| | | # doris: |
| | | # jdbc-url: jdbc:mysql://183.2.142.21:9018/ai |
| | | # username: root |
| | | # password: hugeinfo123 |
| | | # driver-class-name: com.mysql.cj.jdbc.Driver |
| | | |
| | | # redis配置,单机版,集群另外配置 |
| | | redis: |
| | | host: 183.2.142.21 |
| | | port: 9017 |
| | | password: hugeinfo123 |
| | | # 使用的Redis数据库索引(默认为0) |
| | | database: 0 |
| | | # 连接超时时间(毫秒) |
| | | timeout: 5000 |
| | | lettuce: |
| | | pool: |
| | | # 连接池最大连接数 |
| | | max-active: 100 |
| | | # 连接池最大阻塞等待时间 |
| | | max-wait: 100000 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 10 |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://localhost:9001/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
| | | |
| | | #ftp服务配置 |
| | | ftp: |
| | | #服务器ip地址 |
| | | hostname: 120.79.193.119 |
| | | #端口 |
| | | port: 21 |
| | | #用户名 |
| | | username: hugeinfo |
| | | #密码 |
| | | password: hugeinfo123 |
| | | #附件存储根目录 |
| | | rootdir: /home/ftp/gzdyh |
| | | |
| | | #科大讯飞配置 |
| | | xfyun: |
| | | host_url: https://iat-api.xfyun.cn/v2/iat |
| | | appid: 5c7b00be |
| | | api_secret: MGM5Mjg2ODQzYWZmNGE2YjlhOGZlMTJj |
| | | api_key: 9e0a80ed995daf5b194f06ca336080c1 |
| | | |
| | | grid: |
| | | url: http://219.137.166.84:8061 |
| | | username: mtxt001 |
| | | password: aek8CdcaM |
| | | syscode: sub-mtxt |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9013 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-know |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:mysql://10.202.1.65:9030/ai |
| | | username: root |
| | | password: 2olWWmhtaffo0nWO@huge |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | stat-view-servlet: |
| | | # 关闭 Druid 的统计视图 |
| | | enabled: false |
| | | # 定期检查空闲连接的有效性 |
| | | test-while-idle: true |
| | | # 用来验证数据库连接是否仍然可用的 SQL 查询 |
| | | validation-query: SELECT 1 |
| | | |
| | | # redis配置,单机版,集群另外配置 |
| | | redis: |
| | | host: 183.2.142.21 |
| | | port: 9017 |
| | | password: hugeinfo123 |
| | | # 使用的Redis数据库索引(默认为0) |
| | | database: 0 |
| | | # 连接超时时间(毫秒) |
| | | timeout: 5000 |
| | | lettuce: |
| | | pool: |
| | | # 连接池最大连接数 |
| | | max-active: 100 |
| | | # 连接池最大阻塞等待时间 |
| | | max-wait: 100000 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 10 |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://10.202.1.73:9001/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
| | | |
| | | |
| | | |
| | | xfyun: |
| | | host_url: https://iat-api.xfyun.cn/v2/iat |
| | | appid: 5c7b00be |
| | | api_secret: MGM5Mjg2ODQzYWZmNGE2YjlhOGZlMTJj |
| | | api_key: 9e0a80ed995daf5b194f06ca336080c1 |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9013 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-know |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:mysql://10.202.1.65:9030/ai |
| | | username: root |
| | | password: 2olWWmhtaffo0nWO@huge |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | stat-view-servlet: |
| | | # 关闭 Druid 的统计视图 |
| | | enabled: false |
| | | # 定期检查空闲连接的有效性 |
| | | test-while-idle: true |
| | | # 用来验证数据库连接是否仍然可用的 SQL 查询 |
| | | validation-query: SELECT 1 |
| | | |
| | | # redis配置,单机版,集群另外配置 |
| | | redis: |
| | | host: 183.2.142.21 |
| | | port: 9017 |
| | | password: hugeinfo123 |
| | | # 使用的Redis数据库索引(默认为0) |
| | | database: 0 |
| | | # 连接超时时间(毫秒) |
| | | timeout: 5000 |
| | | lettuce: |
| | | pool: |
| | | # 连接池最大连接数 |
| | | max-active: 100 |
| | | # 连接池最大阻塞等待时间 |
| | | max-wait: 100000 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 10 |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://10.202.1.75:9001/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
| | | |
| | | |
| | | xfyun: |
| | | host_url: https://iat-api.xfyun.cn/v2/iat |
| | | appid: 5c7b00be |
| | | api_secret: MGM5Mjg2ODQzYWZmNGE2YjlhOGZlMTJj |
| | | api_key: 9e0a80ed995daf5b194f06ca336080c1 |
| | | |
New file |
| | |
| | | #Spring配置 |
| | | spring: |
| | | profiles: |
| | | active: |
| | | # - dev |
| | | - test |
| | | # - prod |
| | | |
| | | devtools: |
| | | restart: |
| | | enabled: true |
| | | servlet: |
| | | multipart: |
| | | max-file-size: -1 |
| | | max-request-size: -1 |
| | | main: |
| | | #可以重复命名配置 |
| | | allow-bean-definition-overriding: true |
| | | |
| | | #server配置 |
| | | server: |
| | | #服务时限配置 |
| | | tomcat: |
| | | min-spare-threads: 100 |
| | | max-threads: 256 |
| | | connection-timeout: 8000 |
| | | main: |
| | | #可以重复命名配置 |
| | | allow-bean-definition-overriding: true |
| | | allow-circular-references: true |
| | | |
| | | #ribbon配置 |
| | | ribbon: |
| | | #服务之间调用,请求处理超时时间 |
| | | ReadTimeout: 120000 |
| | | #服务之间调用,请求连接的超时时间 |
| | | ConnectTimeout: 30000 |
| | | |
| | | #mybatis-plus配置 |
| | | mybatis-plus: |
| | | configuration: |
| | | #控制台输出sql语句 |
| | | log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
| | | # log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl |
| | | #配置返回数据库(column下划线命名&&返回java实体是驼峰命名),自动匹配无需as(没开启这个,SQL需要写as) |
| | | ap-underscore-to-camel-case: true |
| | | #如何自动映射列到字段或属性,NONE:表示取消自动映射;PARTIAL:只会自动映射没有定义嵌套结果集映射的结果集。FULL:会自动映射任意复杂的结果集(无论是否嵌套)。默认是partial,这是一种全局设置 |
| | | auto-mapping-behavior: full |
| | | global-config: |
| | | db-config: |
| | | #驼峰下划线转换 |
| | | column-underline: false |
| | | #数据库大写下划线转换 |
| | | capital-mode: true |
| | | #全局逻辑删除的实体字段名 |
| | | #logic-delete-field: flag |
| | | #逻辑未删除值(默认为 0),实体类字段需要加上@TableLogic |
| | | logic-not-delete-value: 0 |
| | | #逻辑已删除值(默认为 1) |
| | | logic-delete-value: 1 |
| | | #字段策略,IGNORED:忽略判断,NOT_NULL:非null判断,NOT_EMPTY:非空判断,DEFAULT:默认,NEVER:不加入sql |
| | | update-strategy: IGNORED |
| | | mapper-locations: classpath*:/cn/huge/*/*/dao/mapper/xml/*Mapper.xml |
| | |
| | | // 重新获取纠纷类型统计(基于完整的选择类型条件) |
| | | List<CaseStatisticsTypeDTO> caseStatisticsTypeDTOS = mapper.statisticsTypeFirst(terms); |
| | | |
| | | // // 如果基于选择类型的查询结果为空,则使用全量数据进行纠纷类型统计 |
| | | // if (ObjectUtils.isEmpty(caseStatisticsTypeDTOS)) { |
| | | // // 临时移除所有类型筛选条件,获取全量纠纷类型统计 |
| | | // terms.remove("canal"); |
| | | // terms.remove("canalSecond"); |
| | | // terms.remove("canalList"); |
| | | // terms.remove("canalSecondNot"); |
| | | // terms.remove("canalSecondAll"); |
| | | // caseStatisticsTypeDTOS = mapper.statisticsTypeFirst(terms); |
| | | // } |
| | | // 如果基于选择类型的查询结果为空,则使用全量数据进行纠纷类型统计 |
| | | if (ObjectUtils.isEmpty(caseStatisticsTypeDTOS)) { |
| | | // 临时移除所有类型筛选条件,获取全量纠纷类型统计 |
| | | terms.remove("canal"); |
| | | terms.remove("canalSecond"); |
| | | terms.remove("canalList"); |
| | | terms.remove("canalSecondNot"); |
| | | terms.remove("canalSecondAll"); |
| | | caseStatisticsTypeDTOS = mapper.statisticsTypeFirst(terms); |
| | | } |
| | | |
| | | if (ObjectUtils.isNotEmpty(caseStatisticsTypeDTOS)) { |
| | | sortType(caseStatisticsTypeDTOS); |
| | |
| | | } else { |
| | | terms.put("queryType", 3); |
| | | } |
| | | log.info("xsd:{}",terms); |
| | | CtUnitDTO ctUnitDTO = mapper.getUnitByGridCode(terms); |
| | | log.info("xsd:ctUnitDTO{}",ctUnitDTO); |
| | | if (ObjectUtils.isNotEmpty(ctUnitDTO)) { |
| | | if (StringUtils.isNotBlank(ctUnitDTO.getCity()) && StringUtils.isNotBlank(ctUnitDTO.getCityName())) { |
| | | registerSaveDTO.setQueCity(ctUnitDTO.getCity()); |
| | |
| | | registerSaveDTO.setQueRoad(ctUnitDTO.getRoad()); |
| | | registerSaveDTO.setQueRoadName(ctUnitDTO.getRoadName()); |
| | | } |
| | | registerSaveDTO.setWantUnitId(ctUnitDTO.getId()); |
| | | registerSaveDTO.setWantUnitName(ctUnitDTO.getUnitName()); |
| | | // registerSaveDTO.setWantUnitId(ctUnitDTO.getId()); |
| | | // registerSaveDTO.setWantUnitName(ctUnitDTO.getUnitName()); |
| | | |
| | | //网格上报的事件时间一般在凌晨,导致北京时间是昨天,所以+8小时还原为北京时间,确保在同一天内 |
| | | Date nowDate1 = DateUtils.getNowDate(); |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9006 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-mediate |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:dm://183.2.142.46:9016?schema=HUGETEST |
| | | username: HUGETEST |
| | | password: hugeinfo123 |
| | | driver-class-name: dm.jdbc.driver.DmDriver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | test-while-idle: true |
| | | min-idle: 10 |
| | | initial-size: 10 |
| | | max-active: 50 |
| | | time-between-eviction-runs-millis: 60000 |
| | | min-evictable-idle-time-millis: 600000 |
| | | # 用来验证数据库连接是否仍然可用的 SQL 查询 |
| | | validation-query: SELECT 1 |
| | | |
| | | # redis配置,单机版,集群另外配置 |
| | | redis: |
| | | host: 183.2.142.21 |
| | | port: 9017 |
| | | password: SYSDBA |
| | | # 使用的Redis数据库索引(默认为0) |
| | | database: 0 |
| | | # 连接超时时间(毫秒) |
| | | timeout: 5000 |
| | | lettuce: |
| | | pool: |
| | | # 连接池最大连接数 |
| | | max-active: 100 |
| | | # 连接池最大阻塞等待时间 |
| | | max-wait: 100000 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 10 |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://localhost:9001/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
| | | ai: |
| | | url: http://183.2.142.21:9003 |
| | | |
| | | dify: |
| | | url: http://183.2.142.10:9017/v1 |
| | | # 调解案件推荐 api |
| | | getSimilarityDyhCaseApi: app-oECo6sP42ovAG1t61xxdYu5L |
| | | getSimilarityDyhCaseNum: 3 |
| | | # 判决案件推荐 api |
| | | getSimilarityCpwsCaseApi: app-Ju71MwdRJBliWxxVWw3tAqdY |
| | | # getSimilarityCpwsCaseNum: 3 |
| | | # 案件风险等级 api |
| | | getCaseRiskApi: app-HJjrkmMo1Vt1vKraFatvvx51 |
| | | # 法条推荐 api |
| | | getCaseLawApi: app-BuYAQTMtSH3nf13DKE9vdkEB |
| | | getCaseLawNum: 10 |
| | | # 调解策略生成 api |
| | | getMediateStrategyApi: app-mma72CikdKAaUIdOKUPztwbs |
| | | # 调解案件对话api |
| | | getMediateCaseDialogApi: app-bIzaVJGkoi4b8xjqp5mnX3Co |
| | | # 物业对话api测试版本 |
| | | getPropertyDialogApi: app-pc7L7V3pQVM6uNsj42i0HJYV |
| | | # 访问者名称 |
| | | user: hugeinfo-dev |
| | | |
| | | #ftp服务配置 |
| | | ftp: |
| | | #服务器ip地址 |
| | | hostname: 120.79.193.119 |
| | | #端口 |
| | | port: 21 |
| | | #用户名 |
| | | username: hugeinfo |
| | | #密码 |
| | | password: hugeinfo123 |
| | | #附件存储根目录 |
| | | rootdir: /home/ftp/gzdyh |
| | | |
| | | # Swagger配置 |
| | | swagger: |
| | | enabled: true |
| | | title: 纠纷调解系统API文档 |
| | | description: 纠纷调解系统接口文档 |
| | | version: 1.0.0 |
| | | contact: |
| | | name: hugeinfo |
| | | url: http://www.hugeinfo.com.cn/ |
| | | email: contact@hugeinfo.com.cn |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9008 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-mediate |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:dm://10.202.1.61:5236?schema=HUGEINFO |
| | | username: HUGEINFO |
| | | password: Hugeinfo@123 |
| | | driver-class-name: dm.jdbc.driver.DmDriver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | stat-view-servlet: |
| | | enabled: false |
| | | test-while-idle: true |
| | | min-idle: 10 |
| | | initial-size: 10 |
| | | max-active: 50 |
| | | time-between-eviction-runs-millis: 60000 |
| | | min-evictable-idle-time-millis: 600000 |
| | | # 用来验证数据库连接是否仍然可用的 SQL 查询 |
| | | validation-query: SELECT 1 |
| | | |
| | | # redis配置,单机版,集群另外配置 |
| | | redis: |
| | | host: 10.202.1.72 |
| | | port: 6379 |
| | | password: hugeinfo123@ |
| | | # 使用的Redis数据库索引(默认为0) |
| | | database: 0 |
| | | # 连接超时时间(毫秒) |
| | | timeout: 5000 |
| | | lettuce: |
| | | pool: |
| | | # 连接池最大连接数 |
| | | max-active: 100 |
| | | # 连接池最大阻塞等待时间 |
| | | max-wait: 100000 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 10 |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://localhost:9001/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
| | | |
| | | ai: |
| | | url: http://10.202.1.101:9103 |
| | | |
| | | dify: |
| | | url: http://10.202.1.102:9002/v1 |
| | | # 调解案件推荐 api |
| | | getSimilarityDyhCaseApi: app-kvmALHLJAFjYrYNjdUhg3Ffs |
| | | getSimilarityDyhCaseNum: 3 |
| | | # 判决案件推荐 api |
| | | getSimilarityCpwsCaseApi: app-di1G8MkjumEGuO7ARXJQkMkB |
| | | # getSimilarityCpwsCaseNum: 3 |
| | | # 案件风险等级 api |
| | | getCaseRiskApi: app-umpBN6dDGGKlrTfbhgfYk1Yx |
| | | # 法条推荐 api |
| | | getCaseLawApi: app-M8QMq4OCgv0Z9JWwepWbjIxy |
| | | # 调解策略生成 api |
| | | getMediateStrategyApi: app-mma72CikdKAaUIdOKUPztwbs |
| | | # 调解案件对话api |
| | | getMediateCaseDialogApi: app-bIzaVJGkoi4b8xjqp5mnX3Co |
| | | getCaseLawNum: 10 |
| | | # 物业对话api测试版本 |
| | | getPropertyDialogApi: app-pc7L7V3pQVM6uNsj42i0HJYV |
| | | # 访问者名称 |
| | | user: hugeinfo-prod |
| | | |
| | | #ftp服务配置 |
| | | ftp: |
| | | #服务器ip地址 |
| | | hostname: 10.202.1.61 |
| | | #端口 |
| | | port: 21 |
| | | #用户名 |
| | | username: hugeinfo |
| | | #密码 |
| | | password: hugeinfo123 |
| | | #附件存储根目录 |
| | | rootdir: /dmdata/ftp/gzdyh |
| | | |
| | | # Swagger配置 |
| | | swagger: |
| | | enabled: false |
| | | title: 纠纷调解系统API文档 |
| | | description: 纠纷调解系统接口文档 |
| | | version: 1.0.0 |
| | | contact: |
| | | name: hugeinfo |
| | | url: http://www.hugeinfo.com.cn/ |
| | | email: contact@hugeinfo.com.cn |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9008 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-mediate |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:dm://10.202.1.63:5236?schema=HUGETEST |
| | | username: HUGETEST |
| | | password: Hugeinfo@123 |
| | | driver-class-name: dm.jdbc.driver.DmDriver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | stat-view-servlet: |
| | | enabled: false |
| | | test-while-idle: true |
| | | min-idle: 10 |
| | | initial-size: 10 |
| | | max-active: 50 |
| | | time-between-eviction-runs-millis: 60000 |
| | | min-evictable-idle-time-millis: 600000 |
| | | # 用来验证数据库连接是否仍然可用的 SQL 查询 |
| | | validation-query: SELECT 1 |
| | | |
| | | # redis配置,单机版,集群另外配置 |
| | | redis: |
| | | host: 10.202.1.72 |
| | | port: 6379 |
| | | password: hugeinfo123@ |
| | | # 使用的Redis数据库索引(默认为0) |
| | | database: 0 |
| | | # 连接超时时间(毫秒) |
| | | timeout: 5000 |
| | | lettuce: |
| | | pool: |
| | | # 连接池最大连接数 |
| | | max-active: 100 |
| | | # 连接池最大阻塞等待时间 |
| | | max-wait: 100000 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 10 |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://localhost:9001/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
| | | |
| | | ai: |
| | | url: http://10.202.1.101:9103 |
| | | |
| | | dify: |
| | | url: http://10.202.1.102:9002/v1 |
| | | # 调解案件推荐 api |
| | | getSimilarityDyhCaseApi: app-kvmALHLJAFjYrYNjdUhg3Ffs |
| | | getSimilarityDyhCaseNum: 3 |
| | | # 判决案件推荐 api |
| | | getSimilarityCpwsCaseApi: app-di1G8MkjumEGuO7ARXJQkMkB |
| | | # getSimilarityCpwsCaseNum: 3 |
| | | # 案件风险等级 api |
| | | getCaseRiskApi: app-umpBN6dDGGKlrTfbhgfYk1Yx |
| | | # 法条推荐 api |
| | | getCaseLawApi: app-M8QMq4OCgv0Z9JWwepWbjIxy |
| | | # 调解策略生成 api |
| | | getMediateStrategyApi: app-mma72CikdKAaUIdOKUPztwbs |
| | | # 调解案件对话api |
| | | getMediateCaseDialogApi: app-bIzaVJGkoi4b8xjqp5mnX3Co |
| | | getCaseLawNum: 10 |
| | | # 物业对话api测试版本 |
| | | getPropertyDialogApi: app-pc7L7V3pQVM6uNsj42i0HJYV |
| | | # 访问者名称 |
| | | user: hugeinfo-test |
| | | |
| | | #ftp服务配置 |
| | | ftp: |
| | | #服务器ip地址 |
| | | hostname: 10.202.1.63 |
| | | #端口 |
| | | port: 21 |
| | | #用户名 |
| | | username: hugeinfo |
| | | #密码 |
| | | password: hugeinfo123 |
| | | #附件存储根目录 |
| | | rootdir: /dmdata/ftp/gzdyh |
| | | |
| | | # Swagger配置 |
| | | swagger: |
| | | enabled: false |
| | | title: 纠纷调解系统API文档 |
| | | description: 纠纷调解系统接口文档 |
| | | version: 1.0.0 |
| | | contact: |
| | | name: hugeinfo |
| | | url: http://www.hugeinfo.com.cn/ |
| | | email: contact@hugeinfo.com.cn |
New file |
| | |
| | | #Spring配置 |
| | | spring: |
| | | profiles: |
| | | active: |
| | | # - dev |
| | | # - test |
| | | - prod |
| | | |
| | | devtools: |
| | | restart: |
| | | enabled: true |
| | | servlet: |
| | | multipart: |
| | | max-file-size: -1 |
| | | max-request-size: -1 |
| | | main: |
| | | #可以重复命名配置 |
| | | allow-bean-definition-overriding: true |
| | | allow-circular-references: true |
| | | # Swagger配置 |
| | | mvc: |
| | | pathmatch: |
| | | matching-strategy: ANT_PATH_MATCHER |
| | | |
| | | #server配置 |
| | | server: |
| | | #服务时限配置 |
| | | tomcat: |
| | | min-spare-threads: 100 |
| | | max-threads: 256 |
| | | connection-timeout: 8000 |
| | | main: |
| | | #可以重复命名配置 |
| | | allow-bean-definition-overriding: true |
| | | |
| | | |
| | | |
| | | #ribbon配置 |
| | | ribbon: |
| | | #服务之间调用,请求处理超时时间 |
| | | ReadTimeout: 120000 |
| | | #服务之间调用,请求连接的超时时间 |
| | | ConnectTimeout: 30000 |
| | | |
| | | #mybatis-plus配置 |
| | | mybatis-plus: |
| | | configuration: |
| | | #控制台输出sql语句 |
| | | log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
| | | # log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl |
| | | #配置返回数据库(column下划线命名&&返回java实体是驼峰命名),自动匹配无需as(没开启这个,SQL需要写as) |
| | | ap-underscore-to-camel-case: true |
| | | #如何自动映射列到字段或属性,NONE:表示取消自动映射;PARTIAL:只会自动映射没有定义嵌套结果集映射的结果集。FULL:会自动映射任意复杂的结果集(无论是否嵌套)。默认是partial,这是一种全局设置 |
| | | auto-mapping-behavior: full |
| | | global-config: |
| | | db-config: |
| | | #驼峰下划线转换 |
| | | column-underline: false |
| | | #数据库大写下划线转换 |
| | | capital-mode: true |
| | | #全局逻辑删除的实体字段名 |
| | | #logic-delete-field: flag |
| | | #逻辑未删除值(默认为 0),实体类字段需要加上@TableLogic |
| | | logic-not-delete-value: 0 |
| | | #逻辑已删除值(默认为 1) |
| | | logic-delete-value: 1 |
| | | #字段策略,IGNORED:忽略判断,NOT_NULL:非null判断,NOT_EMPTY:非空判断,DEFAULT:默认,NEVER:不加入sql |
| | | update-strategy: IGNORED |
| | | mapper-locations: classpath*:/cn/huge/*/*/dao/mapper/xml/*Mapper.xml, classpath:/META-INF/modeler-mybatis-mappings/*.xml |
| | | configuration-properties: |
| | | blobType: BLOB |
| | | boolValue: TRUE |
| | | prefix: |
| | | |
| | | #flowable配置 |
| | | flowable: |
| | | async-executor-activate: false |
| | |
| | | * |
| | | **/ |
| | | |
| | | Ext.PagingToolbar.prototype.firstText = "Erste Seite"; |
| | | Ext.PagingToolbar.prototype.firstText = "Erste Seite"; |
| | | Ext.PagingToolbar.prototype.prevText = "Vorherige Seite"; |
| | | Ext.PagingToolbar.prototype.nextText = "Nächste Seite"; |
| | | Ext.PagingToolbar.prototype.lastText = "Letzte Seite"; |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9010 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-sync-bydyh |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:mysql://120.79.193.119:3306/bydyh2.0_v101_prod?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true |
| | | username: root |
| | | password: hugeinfo123 |
| | | driver-class-name: com.mysql.jdbc.Driver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | stat-view-servlet: |
| | | enabled: false |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://localhost:9000/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9010 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-sync-bydyh |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:mysql://120.79.193.119:3306/bydyh2.0_v101_prod?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true |
| | | username: root |
| | | password: hugeinfo123 |
| | | driver-class-name: com.mysql.jdbc.Driver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | stat-view-servlet: |
| | | enabled: false |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://localhost:9000/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9010 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-sync-bydyh |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:mysql://120.79.193.119:3306/bydyh2.0_v101_prod?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true |
| | | username: root |
| | | password: hugeinfo123 |
| | | driver-class-name: com.mysql.jdbc.Driver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | stat-view-servlet: |
| | | enabled: false |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://localhost:9000/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
New file |
| | |
| | | #Spring配置 |
| | | spring: |
| | | profiles: |
| | | active: |
| | | - dev |
| | | # - test |
| | | # - prod |
| | | devtools: |
| | | restart: |
| | | enabled: true |
| | | servlet: |
| | | multipart: |
| | | max-file-size: -1 |
| | | max-request-size: -1 |
| | | main: |
| | | #可以重复命名配置 |
| | | allow-bean-definition-overriding: true |
| | | allow-circular-references: true |
| | | |
| | | |
| | | #server配置 |
| | | server: |
| | | #服务时限配置 |
| | | tomcat: |
| | | min-spare-threads: 100 |
| | | max-threads: 256 |
| | | connection-timeout: 80000 |
| | | |
| | | #ribbon配置 |
| | | ribbon: |
| | | #服务之间调用,请求处理超时时间 |
| | | ReadTimeout: 120000 |
| | | #服务之间调用,请求连接的超时时间 |
| | | ConnectTimeout: 30000 |
| | | |
| | | #mybatis-plus配置 |
| | | mybatis-plus: |
| | | configuration: |
| | | #控制台输出sql语句 |
| | | log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
| | | #配置返回数据库(column下划线命名&&返回java实体是驼峰命名),自动匹配无需as(没开启这个,SQL需要写as) |
| | | ap-underscore-to-camel-case: true |
| | | #如何自动映射列到字段或属性,NONE:表示取消自动映射;PARTIAL:只会自动映射没有定义嵌套结果集映射的结果集。FULL:会自动映射任意复杂的结果集(无论是否嵌套)。默认是partial,这是一种全局设置 |
| | | auto-mapping-behavior: full |
| | | global-config: |
| | | db-config: |
| | | #驼峰下划线转换 |
| | | column-underline: false |
| | | #数据库大写下划线转换 |
| | | capital-mode: true |
| | | #全局逻辑删除的实体字段名 |
| | | #logic-delete-field: flag |
| | | #逻辑未删除值(默认为 1),实体类字段需要加上@TableLogic |
| | | logic-not-delete-value: 1 |
| | | #逻辑已删除值(默认为 99) |
| | | logic-delete-value: 99 |
| | | #字段策略,IGNORED:忽略判断,NOT_NULL:非null判断,NOT_EMPTY:非空判断,DEFAULT:默认,NEVER:不加入sql |
| | | update-strategy: IGNORED |
| | | mapper-locations: classpath*:/cn/huge/*/*/dao/mapper/xml/*Mapper.xml |
| | | |
| | | #JWT配置 |
| | | jwt: |
| | | #jwt生成密钥 |
| | | secret-key: asdfghjkl |
| | | refresh-token-key: |
| | | #refreshToken 存储key |
| | | format: JWT_REFRESH_TOKEN::%s |
| | | blacklist-key: |
| | | #token黑名单 存储key |
| | | format: JWT_BLACKLIST::%s |
| | | token: |
| | | #token过期时间:12小时 |
| | | expire-time: 43200000 |
| | | refresh-token: |
| | | #refreshToken过期时间:13小时,比token时间长一点 |
| | | expire-time: 46800000 |
| | | |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9021 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-sync-ssim |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:mysql://120.79.193.119:3306/gzdyh-grid?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true |
| | | username: root |
| | | password: hugeinfo123 |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | test-while-idle: true |
| | | min-idle: 10 |
| | | initial-size: 10 |
| | | max-active: 50 |
| | | time-between-eviction-runs-millis: 60000 |
| | | min-evictable-idle-time-millis: 600000 |
| | | # 用来验证数据库连接是否仍然可用的 SQL 查询 |
| | | validation-query: SELECT 1 |
| | | |
| | | # redis配置,单机版,集群另外配置 |
| | | redis: |
| | | host: 183.2.142.21 |
| | | port: 9017 |
| | | password: SYSDBA |
| | | # 使用的Redis数据库索引(默认为0) |
| | | database: 0 |
| | | # 连接超时时间(毫秒) |
| | | timeout: 5000 |
| | | lettuce: |
| | | pool: |
| | | # 连接池最大连接数 |
| | | max-active: 100 |
| | | # 连接池最大阻塞等待时间 |
| | | max-wait: 100000 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 10 |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://localhost:9001/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
| | | ai: |
| | | url: http://183.2.142.21:9003 |
| | | |
| | | #ftp服务配置 |
| | | ftp: |
| | | #服务器ip地址 |
| | | hostname: 120.79.193.119 |
| | | #端口 |
| | | port: 21 |
| | | #用户名 |
| | | username: hugeinfo |
| | | #密码 |
| | | password: hugeinfo123 |
| | | #附件存储根目录 |
| | | rootdir: /home/ftp/gzdyh |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9012 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-sync-ssim |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:mysql://120.196.49.138:8086/db_maotiao?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false |
| | | username: usermt |
| | | password: 2025byMTga8@#*p |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | stat-view-servlet: |
| | | enabled: false |
| | | test-while-idle: true |
| | | min-idle: 10 |
| | | initial-size: 10 |
| | | max-active: 50 |
| | | time-between-eviction-runs-millis: 60000 |
| | | min-evictable-idle-time-millis: 600000 |
| | | # 用来验证数据库连接是否仍然可用的 SQL 查询 |
| | | validation-query: SELECT 1 |
| | | |
| | | # redis配置,单机版,集群另外配置 |
| | | redis: |
| | | host: 183.2.142.21 |
| | | port: 9017 |
| | | password: SYSDBA |
| | | # 使用的Redis数据库索引(默认为0) |
| | | database: 0 |
| | | # 连接超时时间(毫秒) |
| | | timeout: 5000 |
| | | lettuce: |
| | | pool: |
| | | # 连接池最大连接数 |
| | | max-active: 100 |
| | | # 连接池最大阻塞等待时间 |
| | | max-wait: 100000 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 10 |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://localhost:9001/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
| | | ai: |
| | | url: http://183.2.142.21:9003 |
| | | |
| | | #ftp服务配置 |
| | | ftp: |
| | | #服务器ip地址 |
| | | hostname: 120.79.193.119 |
| | | #端口 |
| | | port: 21 |
| | | #用户名 |
| | | username: hugeinfo |
| | | #密码 |
| | | password: hugeinfo123 |
| | | #附件存储根目录 |
| | | rootdir: /home/ftp/gzdyh |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9021 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-sync-ssim |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:mysql://120.79.193.119:3306/gzdyh-grid?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true |
| | | username: root |
| | | password: hugeinfo123 |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | test-while-idle: true |
| | | min-idle: 10 |
| | | initial-size: 10 |
| | | max-active: 50 |
| | | time-between-eviction-runs-millis: 60000 |
| | | min-evictable-idle-time-millis: 600000 |
| | | # 用来验证数据库连接是否仍然可用的 SQL 查询 |
| | | validation-query: SELECT 1 |
| | | |
| | | # redis配置,单机版,集群另外配置 |
| | | redis: |
| | | host: 183.2.142.21 |
| | | port: 9017 |
| | | password: SYSDBA |
| | | # 使用的Redis数据库索引(默认为0) |
| | | database: 0 |
| | | # 连接超时时间(毫秒) |
| | | timeout: 5000 |
| | | lettuce: |
| | | pool: |
| | | # 连接池最大连接数 |
| | | max-active: 100 |
| | | # 连接池最大阻塞等待时间 |
| | | max-wait: 100000 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 10 |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://localhost:9001/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
| | | ai: |
| | | url: http://183.2.142.21:9003 |
| | | |
| | | #ftp服务配置 |
| | | ftp: |
| | | #服务器ip地址 |
| | | hostname: 120.79.193.119 |
| | | #端口 |
| | | port: 21 |
| | | #用户名 |
| | | username: hugeinfo |
| | | #密码 |
| | | password: hugeinfo123 |
| | | #附件存储根目录 |
| | | rootdir: /home/ftp/gzdyh |
New file |
| | |
| | | #Spring配置 |
| | | spring: |
| | | profiles: |
| | | active: |
| | | # - dev |
| | | - test |
| | | # - prod |
| | | |
| | | devtools: |
| | | restart: |
| | | enabled: true |
| | | servlet: |
| | | multipart: |
| | | max-file-size: -1 |
| | | max-request-size: -1 |
| | | main: |
| | | #可以重复命名配置 |
| | | allow-bean-definition-overriding: true |
| | | allow-circular-references: true |
| | | |
| | | #server配置 |
| | | server: |
| | | #服务时限配置 |
| | | tomcat: |
| | | min-spare-threads: 100 |
| | | max-threads: 256 |
| | | connection-timeout: 8000 |
| | | main: |
| | | #可以重复命名配置 |
| | | allow-bean-definition-overriding: true |
| | | |
| | | #ribbon配置 |
| | | ribbon: |
| | | #服务之间调用,请求处理超时时间 |
| | | ReadTimeout: 120000 |
| | | #服务之间调用,请求连接的超时时间 |
| | | ConnectTimeout: 30000 |
| | | |
| | | #mybatis-plus配置 |
| | | mybatis-plus: |
| | | configuration: |
| | | #控制台输出sql语句 |
| | | log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
| | | # log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl |
| | | #配置返回数据库(column下划线命名&&返回java实体是驼峰命名),自动匹配无需as(没开启这个,SQL需要写as) |
| | | ap-underscore-to-camel-case: true |
| | | #如何自动映射列到字段或属性,NONE:表示取消自动映射;PARTIAL:只会自动映射没有定义嵌套结果集映射的结果集。FULL:会自动映射任意复杂的结果集(无论是否嵌套)。默认是partial,这是一种全局设置 |
| | | auto-mapping-behavior: full |
| | | global-config: |
| | | db-config: |
| | | #驼峰下划线转换 |
| | | column-underline: false |
| | | #数据库大写下划线转换 |
| | | capital-mode: true |
| | | #全局逻辑删除的实体字段名 |
| | | #logic-delete-field: flag |
| | | #逻辑未删除值(默认为 0),实体类字段需要加上@TableLogic |
| | | logic-not-delete-value: 0 |
| | | #逻辑已删除值(默认为 1) |
| | | logic-delete-value: 1 |
| | | #字段策略,IGNORED:忽略判断,NOT_NULL:非null判断,NOT_EMPTY:非空判断,DEFAULT:默认,NEVER:不加入sql |
| | | update-strategy: IGNORED |
| | | mapper-locations: classpath*:/cn/huge/*/*/dao/mapper/xml/*Mapper.xml, classpath:/META-INF/modeler-mybatis-mappings/*.xml |
| | | configuration-properties: |
| | | blobType: BLOB |
| | | boolValue: TRUE |
| | | prefix: |
| | | |
| | | #flowable配置 |
| | | flowable: |
| | | async-executor-activate: false |
| | |
| | | if (parts.length == 3) { |
| | | return parts[0] + parts[1] + parts[2]; |
| | | } else if (parts.length >= 4) { |
| | | return parts[0] + parts[1] + parts[2]+"-"+parts[4]; |
| | | return parts[0] + parts[1] + parts[2]+"-"+parts[3]; |
| | | } else { |
| | | return input; // 或抛出异常 |
| | | } |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9007 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-sys |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:dm://183.2.142.46:9016?schema=HUGETEST |
| | | username: HUGEINFO |
| | | password: hugeinfo123@ |
| | | driver-class-name: dm.jdbc.driver.DmDriver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | test-while-idle: true |
| | | min-idle: 10 |
| | | initial-size: 10 |
| | | max-active: 50 |
| | | time-between-eviction-runs-millis: 60000 |
| | | min-evictable-idle-time-millis: 600000 |
| | | # 用来验证数据库连接是否仍然可用的 SQL 查询 |
| | | validation-query: SELECT 1 |
| | | |
| | | # redis配置,单机版,集群另外配置 |
| | | redis: |
| | | host: 183.2.142.21 |
| | | port: 9017 |
| | | password: hugeinfo123 |
| | | # 使用的Redis数据库索引(默认为0) |
| | | database: 0 |
| | | # 连接超时时间(毫秒) |
| | | timeout: 5000 |
| | | lettuce: |
| | | pool: |
| | | # 连接池最大连接数 |
| | | max-active: 100 |
| | | # 连接池最大阻塞等待时间 |
| | | max-wait: 100000 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 10 |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://localhost:9001/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
| | | |
| | | #ftp服务配置 |
| | | ftp: |
| | | #服务器ip地址 |
| | | hostname: 120.79.193.119 |
| | | #端口 |
| | | port: 21 |
| | | #用户名 |
| | | username: hugeinfo |
| | | #密码 |
| | | password: hugeinfo123 |
| | | #附件存储根目录 |
| | | rootdir: /home/ftp/gzdyh |
| | | |
| | | #科大讯飞配置 |
| | | xfyun: |
| | | host_url: https://iat-api.xfyun.cn/v2/iat |
| | | appid: 5c7b00be |
| | | api_secret: MGM5Mjg2ODQzYWZmNGE2YjlhOGZlMTJj |
| | | api_key: 9e0a80ed995daf5b194f06ca336080c1 |
| | | |
| | | grid: |
| | | url: http://219.137.166.84:8061 |
| | | username: mtxt001 |
| | | password: aek8CdcaM |
| | | syscode: sub-mtxt |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9007 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-sys |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:dm://10.202.1.61:5236?schema=HUGEINFO |
| | | username: HUGEINFO |
| | | password: Hugeinfo@123 |
| | | driver-class-name: dm.jdbc.driver.DmDriver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | test-while-idle: true |
| | | min-idle: 10 |
| | | initial-size: 10 |
| | | max-active: 50 |
| | | time-between-eviction-runs-millis: 60000 |
| | | min-evictable-idle-time-millis: 600000 |
| | | # 用来验证数据库连接是否仍然可用的 SQL 查询 |
| | | validation-query: SELECT 1 |
| | | |
| | | # redis配置,单机版,集群另外配置 |
| | | redis: |
| | | host: 10.202.1.72 |
| | | port: 6379 |
| | | password: hugeinfo123@ |
| | | # 使用的Redis数据库索引(默认为0) |
| | | database: 0 |
| | | # 连接超时时间(毫秒) |
| | | timeout: 5000 |
| | | lettuce: |
| | | pool: |
| | | # 连接池最大连接数 |
| | | max-active: 100 |
| | | # 连接池最大阻塞等待时间 |
| | | max-wait: 100000 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 10 |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://localhost:9001/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
| | | |
| | | #ftp服务配置 |
| | | ftp: |
| | | #服务器ip地址 |
| | | hostname: 10.202.1.61 |
| | | #端口 |
| | | port: 21 |
| | | #用户名 |
| | | username: hugeinfo |
| | | #密码 |
| | | password: hugeinfo123 |
| | | #附件存储根目录 |
| | | rootdir: /dmdata/ftp/gzdyh |
| | | |
| | | xfyun: |
| | | host_url: https://iat-api.xfyun.cn/v2/iat |
| | | appid: 5c7b00be |
| | | api_secret: MGM5Mjg2ODQzYWZmNGE2YjlhOGZlMTJj |
| | | api_key: 9e0a80ed995daf5b194f06ca336080c1 |
| | | |
| | | grid: |
| | | url: http://10.202.1.46:9091 |
| | | username: mtxt001 |
| | | password: kd*cCoAb |
| | | syscode: sub-mtxt |
| | | passid: b08c0ec0-772d-caf8-5c9b-1f7d86295a95 |
| | | secret: BZb2hLCx05 |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9007 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-sys |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:dm://10.202.1.63:5236?schema=HUGETEST |
| | | username: HUGETEST |
| | | password: Hugeinfo@123 |
| | | driver-class-name: dm.jdbc.driver.DmDriver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | test-while-idle: true |
| | | min-idle: 10 |
| | | initial-size: 10 |
| | | max-active: 50 |
| | | time-between-eviction-runs-millis: 60000 |
| | | min-evictable-idle-time-millis: 600000 |
| | | # 用来验证数据库连接是否仍然可用的 SQL 查询 |
| | | validation-query: SELECT 1 |
| | | |
| | | # redis配置,单机版,集群另外配置 |
| | | redis: |
| | | host: 10.202.1.72 |
| | | port: 6379 |
| | | password: hugeinfo123@ |
| | | # 使用的Redis数据库索引(默认为0) |
| | | database: 0 |
| | | # 连接超时时间(毫秒) |
| | | timeout: 5000 |
| | | lettuce: |
| | | pool: |
| | | # 连接池最大连接数 |
| | | max-active: 100 |
| | | # 连接池最大阻塞等待时间 |
| | | max-wait: 100000 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 10 |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://localhost:9001/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
| | | |
| | | #ftp服务配置 |
| | | ftp: |
| | | #服务器ip地址 |
| | | hostname: 10.202.1.63 |
| | | #端口 |
| | | port: 21 |
| | | #用户名 |
| | | username: hugeinfo |
| | | #密码 |
| | | password: hugeinfo123 |
| | | #附件存储根目录 |
| | | rootdir: /dmdata/ftp/gzdyh |
| | | |
| | | xfyun: |
| | | host_url: https://iat-api.xfyun.cn/v2/iat |
| | | appid: 5c7b00be |
| | | api_secret: MGM5Mjg2ODQzYWZmNGE2YjlhOGZlMTJj |
| | | api_key: 9e0a80ed995daf5b194f06ca336080c1 |
| | | |
| | | grid: |
| | | url: http://10.202.1.50:9091 |
| | | username: mtxt001 |
| | | password: kd*cCoAb |
| | | syscode: sub-mtxt |
| | | passid: b08c0ec0-772d-caf8-5c9b-1f7d86295a95 |
| | | secret: BZb2hLCx05 |
New file |
| | |
| | | #Spring配置 |
| | | spring: |
| | | profiles: |
| | | active: |
| | | # - dev |
| | | # - test |
| | | - prod |
| | | |
| | | devtools: |
| | | restart: |
| | | enabled: true |
| | | servlet: |
| | | multipart: |
| | | max-file-size: -1 |
| | | max-request-size: -1 |
| | | main: |
| | | #可以重复命名配置 |
| | | allow-bean-definition-overriding: true |
| | | |
| | | #server配置 |
| | | server: |
| | | #服务时限配置 |
| | | tomcat: |
| | | min-spare-threads: 100 |
| | | max-threads: 256 |
| | | connection-timeout: 8000 |
| | | main: |
| | | #可以重复命名配置 |
| | | allow-bean-definition-overriding: true |
| | | allow-circular-references: true |
| | | |
| | | #ribbon配置 |
| | | ribbon: |
| | | #服务之间调用,请求处理超时时间 |
| | | ReadTimeout: 120000 |
| | | #服务之间调用,请求连接的超时时间 |
| | | ConnectTimeout: 30000 |
| | | |
| | | #mybatis-plus配置 |
| | | mybatis-plus: |
| | | configuration: |
| | | #控制台输出sql语句 |
| | | log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
| | | # log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl |
| | | #配置返回数据库(column下划线命名&&返回java实体是驼峰命名),自动匹配无需as(没开启这个,SQL需要写as) |
| | | ap-underscore-to-camel-case: true |
| | | #如何自动映射列到字段或属性,NONE:表示取消自动映射;PARTIAL:只会自动映射没有定义嵌套结果集映射的结果集。FULL:会自动映射任意复杂的结果集(无论是否嵌套)。默认是partial,这是一种全局设置 |
| | | auto-mapping-behavior: full |
| | | global-config: |
| | | db-config: |
| | | #驼峰下划线转换 |
| | | column-underline: false |
| | | #数据库大写下划线转换 |
| | | capital-mode: true |
| | | #全局逻辑删除的实体字段名 |
| | | #logic-delete-field: flag |
| | | #逻辑未删除值(默认为 0),实体类字段需要加上@TableLogic |
| | | logic-not-delete-value: 0 |
| | | #逻辑已删除值(默认为 1) |
| | | logic-delete-value: 1 |
| | | #字段策略,IGNORED:忽略判断,NOT_NULL:非null判断,NOT_EMPTY:非空判断,DEFAULT:默认,NEVER:不加入sql |
| | | update-strategy: IGNORED |
| | | mapper-locations: classpath*:/cn/huge/*/*/dao/mapper/xml/*Mapper.xml |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9009 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-utils |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:dm://183.2.142.46:9016?schema=HUGETEST |
| | | username: HUGEINFO |
| | | password: hugeinfo123@ |
| | | driver-class-name: dm.jdbc.driver.DmDriver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | test-while-idle: true |
| | | min-idle: 10 |
| | | initial-size: 10 |
| | | max-active: 50 |
| | | time-between-eviction-runs-millis: 60000 |
| | | min-evictable-idle-time-millis: 600000 |
| | | # 用来验证数据库连接是否仍然可用的 SQL 查询 |
| | | validation-query: SELECT 1 |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://localhost:9001/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9009 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-utils |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:dm://10.202.1.61:5236?schema=HUGEINFO |
| | | username: HUGEINFO |
| | | password: Hugeinfo@123 |
| | | driver-class-name: dm.jdbc.driver.DmDriver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | test-while-idle: true |
| | | min-idle: 10 |
| | | initial-size: 10 |
| | | max-active: 50 |
| | | time-between-eviction-runs-millis: 60000 |
| | | min-evictable-idle-time-millis: 600000 |
| | | # 用来验证数据库连接是否仍然可用的 SQL 查询 |
| | | validation-query: SELECT 1 |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://localhost:9001/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
New file |
| | |
| | | #server配置 |
| | | server: |
| | | #端口 |
| | | port: 9009 |
| | | |
| | | #Spring配置 |
| | | spring: |
| | | #服务名 |
| | | application: |
| | | name: dyh-utils |
| | | #数据源配置 |
| | | datasource: |
| | | url: jdbc:dm://10.202.1.63:5236?schema=HUGETEST |
| | | username: HUGETEST |
| | | password: Hugeinfo@123 |
| | | driver-class-name: dm.jdbc.driver.DmDriver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | test-while-idle: true |
| | | min-idle: 10 |
| | | initial-size: 10 |
| | | max-active: 50 |
| | | time-between-eviction-runs-millis: 60000 |
| | | min-evictable-idle-time-millis: 600000 |
| | | # 用来验证数据库连接是否仍然可用的 SQL 查询 |
| | | validation-query: SELECT 1 |
| | | |
| | | #注册中心配置 |
| | | eureka: |
| | | client: |
| | | service-url: |
| | | #注册中心单机 |
| | | defaultZone: http://localhost:9001/eureka |
| | | #注册中心集群 |
| | | #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka |
| | | #是否注册到注册中心 |
| | | register-with-eureka: true |
| | | #是否从注册中心拉取注册服务列表 |
| | | fetch-registry: true |
| | | #首次注册时间 |
| | | initial-instance-info-replication-interval-seconds: 2 |
| | | #客户端定时刷新本地缓存时间 |
| | | registry-fetch-interval-seconds: 5 |
| | | instance: |
| | | prefer-ip-address: true |
| | | instance-id: ${spring.cloud.client.ip-address}:${server.port} |
| | | #心跳时间,即服务续约间隔时间(缺省为30s) |
| | | lease-renewal-interval-in-seconds: 10 |
| | | #发呆时间,即服务续约到期时间(缺省为90s) |
| | | lease-expiration-duration-in-seconds: 30 |
| | | |
| | | #hystrix配置 |
| | | hystrix: |
| | | command: |
| | | default: |
| | | execution: |
| | | timeout: |
| | | enabled: true |
| | | isolation: |
| | | thread: |
| | | timeoutInMilliseconds: 30000 |
| | | |
| | | #健康检查-按需配置 |
| | | management: |
| | | endpoint: |
| | | health: |
| | | show-details: always |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: "*" |
| | | server: |
| | | #port: 9021 |
| | | servlet: |
| | | context-path: / |
| | | ssl: |
| | | enabled: false |
New file |
| | |
| | | #Spring配置 |
| | | spring: |
| | | profiles: |
| | | active: |
| | | # - dev |
| | | - test |
| | | # - prod |
| | | devtools: |
| | | restart: |
| | | enabled: true |
| | | servlet: |
| | | multipart: |
| | | max-file-size: -1 |
| | | max-request-size: -1 |
| | | main: |
| | | #可以重复命名配置 |
| | | allow-bean-definition-overriding: true |
| | | thymeleaf: |
| | | cache: false |
| | | prefix: |
| | | classpath: /templates |
| | | |
| | | |
| | | #server配置 |
| | | server: |
| | | #服务时限配置 |
| | | tomcat: |
| | | min-spare-threads: 100 |
| | | max-threads: 256 |
| | | connection-timeout: 8000 |
| | | |
| | | #ribbon配置 |
| | | ribbon: |
| | | #服务之间调用,请求处理超时时间 |
| | | ReadTimeout: 120000 |
| | | #服务之间调用,请求连接的超时时间 |
| | | ConnectTimeout: 30000 |
| | | |
| | | #mybatis-plus配置 |
| | | mybatis-plus: |
| | | configuration: |
| | | #控制台输出sql语句 |
| | | log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
| | | #配置返回数据库(column下划线命名&&返回java实体是驼峰命名),自动匹配无需as(没开启这个,SQL需要写as) |
| | | ap-underscore-to-camel-case: true |
| | | #如何自动映射列到字段或属性,NONE:表示取消自动映射;PARTIAL:只会自动映射没有定义嵌套结果集映射的结果集。FULL:会自动映射任意复杂的结果集(无论是否嵌套)。默认是partial,这是一种全局设置 |
| | | auto-mapping-behavior: full |
| | | global-config: |
| | | db-config: |
| | | #驼峰下划线转换 |
| | | column-underline: false |
| | | #数据库大写下划线转换 |
| | | capital-mode: true |
| | | #全局逻辑删除的实体字段名 |
| | | #logic-delete-field: flag |
| | | #逻辑未删除值(默认为 0),实体类字段需要加上@TableLogic |
| | | logic-not-delete-value: 0 |
| | | #逻辑已删除值(默认为 1) |
| | | logic-delete-value: 1 |
| | | #字段策略,IGNORED:忽略判断,NOT_NULL:非null判断,NOT_EMPTY:非空判断,DEFAULT:默认,NEVER:不加入sql |
| | | update-strategy: IGNORED |
| | | mapper-locations: classpath*:/cn/huge/*/*/dao/mapper/xml/*Mapper.xml |
| | | |
| | | #JWT配置 |
| | | jwt: |
| | | #jwt生成密钥 |
| | | secret-key: asdfghjkl |
| | | refresh-token-key: |
| | | #refreshToken 存储key |
| | | format: JWT_REFRESH_TOKEN::%s |
| | | blacklist-key: |
| | | #token黑名单 存储key |
| | | format: JWT_BLACKLIST::%s |
| | | token: |
| | | #token过期时间:12小时 |
| | | expire-time: 43200000 |
| | | refresh-token: |
| | | #refreshToken过期时间:13小时,比token时间长一点 |
| | | expire-time: 46800000 |
| | | |