10 changed files with 288 additions and 1972 deletions
-
84xm-bootstrap/src/main/resources/application-123prod.properties
-
138xm-bootstrap/src/main/resources/application-dev.properties
-
142xm-bootstrap/src/main/resources/application-m1.xm.prod.1.0.properties
-
146xm-bootstrap/src/main/resources/application-m1prod.properties
-
105xm-bootstrap/src/main/resources/application-prod.properties
-
278xm-bootstrap/src/main/resources/application-prod.yml
-
21xm-bootstrap/src/main/resources/application.properties
-
5xm-bootstrap/src/main/resources/application.yml
-
12xm-bootstrap/src/main/resources/logback-spring.xml
-
1329xm-bootstrap/src/main/resources/stencilset_bpmn.json
@ -1,84 +0,0 @@ |
|||||
#内置服务器的端口 |
|
||||
spring.application.name=oa |
|
||||
|
|
||||
server.port=7078 |
|
||||
server.context-path=/${spring.application.name} |
|
||||
#session失效时间 秒 |
|
||||
server.session.timeout=43200 |
|
||||
spring.session.store-type=none |
|
||||
spring.cloud.inetutils.preferredNetworks[0]=^10\. |
|
||||
spring.cloud.inetutils.preferredNetworks[1]=^172\. |
|
||||
#eureka.client.serviceUrl.defaultZone=http://172.18.153.157:6110/eureka/ |
|
||||
#eureka.instance.hostname= ${spring.cloud.client.ipAddress} |
|
||||
#eureka.instance.instance-id=${spring.cloud.client.ipAddress}:${server.port} |
|
||||
#eureka.instance.prefer-ip-address=true |
|
||||
|
|
||||
spring.cloud.consul.host=localhost |
|
||||
spring.cloud.consul.port=8500 |
|
||||
|
|
||||
|
|
||||
#服务跟踪 |
|
||||
spring.zipkin.enabled=false |
|
||||
spring.zipkin.base-url=http://172.18.153.157:6119/ |
|
||||
spring.sleuth.sampler.percentage=1.0 |
|
||||
|
|
||||
|
|
||||
spring.jackson.mapper.default-view-inclusion=false |
|
||||
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss |
|
||||
spring.mvc.date-format=yyyy-MM-dd HH:mm:ss |
|
||||
spring.jackson.time-zone=GMT+8 |
|
||||
spring.jackson.serialization.indent_output=true |
|
||||
spring.jackson.serialization.fail_on_empty_beans=false |
|
||||
spring.jackson.deserialization.fail_on_unknown_properties=false |
|
||||
spring.jackson.parser.allow_unquoted_control_chars=true |
|
||||
spring.jackson.parser.allow_single_quotes=true |
|
||||
|
|
||||
|
|
||||
#配置图片文件上传下载的相关参数,如果此次配置将覆盖数据库系统参数中的 arcImageUploadRootPath 及 arcImageDownloadBaseUri两个参数 |
|
||||
mdp.arc.image-upload-root-path=E:/arc/image |
|
||||
mdp.arc.image-download-base-uri=arc/ |
|
||||
mdp.arc.file-upload-root-path=E:/arc/files |
|
||||
|
|
||||
#限制文件上传大小 |
|
||||
spring.http.multipart.maxFileSize=10Mb |
|
||||
spring.http.multipart.maxRequestSize=10Mb |
|
||||
|
|
||||
#配置数据源 |
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver |
|
||||
spring.datasource.jdbc-url=jdbc:mysql://rm-wz929m40310oa78u6.mysql.rds.aliyuncs.com:3306/arc?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMultiQueries=true&serverTimezone=CTT |
|
||||
spring.datasource.username=mall |
|
||||
spring.datasource.password=mall_0319_m |
|
||||
spring.datasource.validation-query=select 1 |
|
||||
spring.datasource.test-on-borrow=true |
|
||||
spring.datasource.validation-interval=30000 |
|
||||
|
|
||||
##begin 商户相关配置###顶级商户########################################################### |
|
||||
mdp.topMech.mechId=m1000 |
|
||||
mdp.topMech.mechName=广州擎勤网络科技有限公司 |
|
||||
mdp.topMech.userid=1000 |
|
||||
mdp.topMech.userName=广州擎勤网络科技有限公司 |
|
||||
mdp.topMech.accountId=m1000 |
|
||||
##end 商户相关配置################################################################ |
|
||||
|
|
||||
#腾讯云短信验证码@Value("${mdp.sms.appid}") |
|
||||
mdp.sms.appid=1400038813 |
|
||||
mdp.sms.app-secret=4b0659a2ee8ba4e54a570515fda94aef |
|
||||
|
|
||||
# REDIS (RedisProperties) |
|
||||
spring.redis.database=0 |
|
||||
# Redis服务器地址 |
|
||||
spring.redis.host=172.18.153.171 |
|
||||
# Redis服务器连接端口 |
|
||||
spring.redis.port=6379 |
|
||||
# Redis服务器连接密码(默认为空) |
|
||||
spring.redis.password=QqKj*123 |
|
||||
# 连接池最大连接数(使用负值表示没有限制) |
|
||||
spring.redis.pool.max-active=8 |
|
||||
# 连接池最大阻塞等待时间(使用负值表示没有限制) |
|
||||
spring.redis.pool.max-wait=-1 |
|
||||
# 连接池中的最大空闲连接 |
|
||||
spring.redis.pool.max-idle=8 |
|
||||
# 连接池中的最小空闲连接 |
|
||||
spring.redis.pool.min-idle=2 |
|
||||
# 连接超时时间(毫秒) |
|
||||
spring.redis.timeout=100000 |
|
||||
@ -1,138 +0,0 @@ |
|||||
#内置服务器的端口 |
|
||||
spring.application.name=xm |
|
||||
|
|
||||
server.port=7067 |
|
||||
#server.context-path=/${spring.application.name} |
|
||||
#session失效时间 秒 |
|
||||
server.session.timeout=43200 |
|
||||
spring.session.store-type=none |
|
||||
spring.cloud.inetutils.preferredNetworks[0]=^10\. |
|
||||
spring.cloud.inetutils.preferredNetworks[1]=^172\. |
|
||||
#eureka.client.serviceUrl.defaultZone=http://172.16.16.16:6110/eureka/ |
|
||||
#eureka.instance.hostname= ${spring.cloud.client.ipAddress} |
|
||||
#eureka.instance.instance-id=${spring.cloud.client.ipAddress}:${server.port} |
|
||||
#eureka.instance.prefer-ip-address=true |
|
||||
|
|
||||
spring.cloud.consul.host=134.175.57.249 |
|
||||
spring.cloud.consul.port=8500 |
|
||||
|
|
||||
|
|
||||
#服务跟踪 |
|
||||
spring.zipkin.enabled=true |
|
||||
spring.zipkin.base-url=http://172.16.16.16:6119/ |
|
||||
spring.sleuth.sampler.percentage=1.0 |
|
||||
|
|
||||
spring.jackson.mapper.default-view-inclusion=false |
|
||||
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss |
|
||||
spring.mvc.date-format=yyyy-MM-dd HH:mm:ss |
|
||||
spring.jackson.time-zone=GMT+8 |
|
||||
spring.jackson.serialization.indent_output=true |
|
||||
spring.jackson.serialization.fail_on_empty_beans=false |
|
||||
spring.jackson.deserialization.fail_on_unknown_properties=false |
|
||||
spring.jackson.parser.allow_unquoted_control_chars=true |
|
||||
spring.jackson.parser.allow_single_quotes=true |
|
||||
|
|
||||
|
|
||||
#配置图片文件上传下载的相关参数,如果此次配置将覆盖数据库系统参数中的 arcImageUploadRootPath 及 arcImageDownloadBaseUri两个参数 |
|
||||
mdp.arc.image-upload-root-path=E:/arc/image |
|
||||
mdp.arc.image-download-base-uri=arc/ |
|
||||
mdp.arc.file-upload-root-path=E:/arc/files |
|
||||
|
|
||||
#限制文件上传大小 |
|
||||
spring.http.multipart.maxFileSize=10Mb |
|
||||
spring.http.multipart.maxRequestSize=10Mb |
|
||||
|
|
||||
mdp.api-gate=http://134.175.57.249:7015 |
|
||||
mdp.platform-branch-id=platform-branch-001 |
|
||||
|
|
||||
# 权限自动注册接口,云环境下 http://微服务名称/sys/qx/autoRegist,本地调试 http://ip:port/sys/qx/autoRegist |
|
||||
mdp.auth.qx-regist-url=${mdp.api-gate}/sys/sys/qx/autoRegist |
|
||||
# 审计日志收集,云环境下 http://微服务名称/audit/base/operLog/add,本地调试 http://ip:port/audit/base/operLog/add |
|
||||
mdp.audit.audit-log-url=${mdp.api-gate}/audit/audit/base/operLog/add |
|
||||
# 元数据/系统参数等接口 云环境下 http://微服务名称/sys/meta/itemOption/list/byItemCode,本地调试 http://ip:port/meta/itemOption/list/byItemCode |
|
||||
mdp.meta.item-options-query-uri= ${mdp.api-gate}/sys/meta/itemOption/list/byItemCode |
|
||||
# 元数据/系统参数等接口 云环境下 http://微服务名称/sys/meta/item/list,本地调试 http://ip:port/meta/item/list |
|
||||
mdp.meta.items-query-uri= ${mdp.api-gate}//sys/meta/item/list |
|
||||
# 第三方授权登陆参数配置数据访问接口 云环境下 http://微服务名称/app/appTpAuth/list,本地调试 http://ip:port/app/appTpAuth/list |
|
||||
mdp.tpa.app-tp-auth-query-uri= ${mdp.api-gate}/sys/app/appTpAuth/list |
|
||||
# 第三方授权支付参数配置数据访问接口 云环境下 http://微服务名称/app/appTpPay/list,本地调试 http://ip:port/app/appTpPay/list |
|
||||
mdp.tpa.app-tp-pay-query-uri= ${mdp.api-gate}/sys/app/appTpPay/list |
|
||||
# 第三方授权登陆登陆用户查询接口 云环境下 http://微服务名称/sys/userTpa/list,本地调试 http://ip:port/sys/userTpa/list |
|
||||
mdp.tpa.user-tpa-query-uri= ${mdp.api-gate}/sys/sys/userTpa/list |
|
||||
|
|
||||
|
|
||||
# mdp平台授权验证服务器访问地址 cloud环境下换成 http://oauth2server,本地调试http://127.0.0.1:7000,本地如果不起验证服务器,可改为 https://www.qingqinkj.com/api/m1/oauth2server |
|
||||
mdp.oauth2.server.uri=http://oauth2server |
|
||||
# 客户端必须在数据库表adm.oauth_client_details中配置,否则无法访问 |
|
||||
|
|
||||
# 下面配置 password 模式 |
|
||||
spring.security.oauth2.client.registration.password-client.provider=oauth2server |
|
||||
spring.security.oauth2.client.registration.password-client.client-id=${spring.application.name} |
|
||||
spring.security.oauth2.client.registration.password-client.client-secret= ${spring.application.name}-8888 |
|
||||
spring.security.oauth2.client.registration.password-client.authorization-grant-type= password |
|
||||
spring.security.oauth2.client.registration.password-client.scope= all |
|
||||
|
|
||||
# 下面配置 client_credentials 模式 |
|
||||
spring.security.oauth2.client.registration.def-client.provider=oauth2server |
|
||||
spring.security.oauth2.client.registration.def-client.client-id=${spring.application.name} |
|
||||
spring.security.oauth2.client.registration.def-client.client-secret= ${spring.application.name}-8888 |
|
||||
spring.security.oauth2.client.registration.def-client.authorization-grant-type= client_credentials |
|
||||
spring.security.oauth2.client.registration.def-client.scope= all |
|
||||
|
|
||||
# 下面配置authorization_code模式 |
|
||||
spring.security.oauth2.client.registration.code-client.provider=oauth2server |
|
||||
spring.security.oauth2.client.registration.code-client.client-id=${spring.application.name} |
|
||||
spring.security.oauth2.client.registration.code-client.client-secret= ${spring.application.name}-8888 |
|
||||
spring.security.oauth2.client.registration.code-client.authorization-grant-type= authorization_code |
|
||||
# 授权码模式下需要配置重定向地址 |
|
||||
spring.security.oauth2.client.registration.code-client.redirect-uri= ${messages.base-uri}/authorized |
|
||||
spring.security.oauth2.client.registration.code-client.scope= all |
|
||||
|
|
||||
# 授权码方式获取code |
|
||||
spring.security.oauth2.client.provider.oauth2server.authorization-uri= ${mdp.oauth2.server.uri}/oauth2/authorize |
|
||||
# 获取token接口 |
|
||||
spring.security.oauth2.client.provider.oauth2server.token-uri= ${mdp.oauth2.server.uri}/oauth2/token |
|
||||
|
|
||||
# 资源服务器 |
|
||||
spring.security.oauth2.resourceserver.jwt.jwk-set-uri= ${mdp.oauth2.server.uri}/oauth2/jwks |
|
||||
|
|
||||
#配置数据源 |
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver |
|
||||
spring.datasource.jdbc-url=jdbc:mysql://123.207.117.5:3306/arc?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMultiQueries=true&serverTimezone=CTT |
|
||||
spring.datasource.username=root |
|
||||
spring.datasource.password=1qaz@WSX |
|
||||
spring.datasource.validation-query=select 1 |
|
||||
spring.datasource.test-on-borrow=true |
|
||||
spring.datasource.validation-interval=30000 |
|
||||
|
|
||||
##begin 商户相关配置###顶级商户########################################################### |
|
||||
mdp.topMech.mechId=m1000 |
|
||||
mdp.topMech.mechName=广州擎勤网络科技有限公司 |
|
||||
mdp.topMech.userid=1000 |
|
||||
mdp.topMech.userName=广州擎勤网络科技有限公司 |
|
||||
mdp.topMech.accountId=m1000 |
|
||||
##end 商户相关配置################################################################ |
|
||||
|
|
||||
#腾讯云短信验证码@Value("${mdp.sms.appid}") |
|
||||
mdp.sms.appid=1400038813 |
|
||||
mdp.sms.app-secret=4b0659a2ee8ba4e54a570515fda94aef |
|
||||
|
|
||||
# REDIS (RedisProperties) |
|
||||
# Redis数据库索引(默认为0) |
|
||||
spring.redis.database=0 |
|
||||
# Redis服务器地址 |
|
||||
spring.redis.host=134.175.57.249 |
|
||||
# Redis服务器连接端口 |
|
||||
spring.redis.port=6379 |
|
||||
# Redis服务器连接密码(默认为空) |
|
||||
spring.redis.password=QqKj*123 |
|
||||
# 连接池最大连接数(使用负值表示没有限制) |
|
||||
spring.redis.pool.max-active=8 |
|
||||
# 连接池最大阻塞等待时间(使用负值表示没有限制) |
|
||||
spring.redis.pool.max-wait=-1 |
|
||||
# 连接池中的最大空闲连接 |
|
||||
spring.redis.pool.max-idle=8 |
|
||||
# 连接池中的最小空闲连接 |
|
||||
spring.redis.pool.min-idle=2 |
|
||||
# 连接超时时间(毫秒) |
|
||||
spring.redis.timeout=100000 |
|
||||
@ -1,142 +0,0 @@ |
|||||
#内置服务器的端口 |
|
||||
spring.application.name=xm |
|
||||
server.port=7067 |
|
||||
# 默认情况下为 spring.application.name + server.port, 如果在多个服务器上同一个服务, 因为应用名和端口都一致, 会导致service id 会重复, 所以一般情况都需要引入一个随机数避免重复 . |
|
||||
# spring.cloud.consul.discovery.instance-id=${spring.application.name}-${server.port}-${random.value} |
|
||||
|
|
||||
#server.context-path=/${spring.application.name} |
|
||||
#session失效时间 秒 |
|
||||
server.session.timeout=43200 |
|
||||
spring.session.store-type=redis |
|
||||
spring.cloud.inetutils.preferredNetworks[0]=^10\. |
|
||||
spring.cloud.inetutils.preferredNetworks[1]=^172\. |
|
||||
#eureka.client.serviceUrl.defaultZone=http://172.16.16.16:6110/eureka/ |
|
||||
#eureka.instance.hostname= ${spring.cloud.client.ipAddress} |
|
||||
#eureka.instance.instance-id=${spring.cloud.client.ipAddress}:${server.port} |
|
||||
#eureka.instance.prefer-ip-address=true |
|
||||
|
|
||||
spring.cloud.consul.host=172.16.16.16 |
|
||||
spring.cloud.consul.port=8500 |
|
||||
|
|
||||
|
|
||||
#服务跟踪 |
|
||||
spring.zipkin.enabled=true |
|
||||
spring.zipkin.base-url=http://172.16.16.16:6119/ |
|
||||
spring.sleuth.sampler.percentage=1.0 |
|
||||
|
|
||||
spring.jackson.mapper.default-view-inclusion=false |
|
||||
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss |
|
||||
spring.mvc.date-format=yyyy-MM-dd HH:mm:ss |
|
||||
spring.jackson.time-zone=GMT+8 |
|
||||
spring.jackson.serialization.indent_output=true |
|
||||
spring.jackson.serialization.fail_on_empty_beans=false |
|
||||
spring.jackson.deserialization.fail_on_unknown_properties=false |
|
||||
spring.jackson.parser.allow_unquoted_control_chars=true |
|
||||
spring.jackson.parser.allow_single_quotes=true |
|
||||
|
|
||||
#限制文件上传大小 |
|
||||
spring.http.multipart.maxFileSize=10Mb |
|
||||
spring.http.multipart.maxRequestSize=10Mb |
|
||||
|
|
||||
|
|
||||
#配置图片文件上传下载的相关参数,如果此次配置将覆盖数据库系统参数中的 arcImageUploadRootPath 及 arcImageDownloadBaseUri两个参数 |
|
||||
#mdp.arc.image-upload-root-path=/home/keyun/mall/arc/image |
|
||||
#mdp.arc.image-download-base-uri=arc/ |
|
||||
#mdp.arc.file-upload-root-path=/home/keyun/mall/arc/files |
|
||||
|
|
||||
#mdp.auth.ips=ip1,ip2,ip3,授权ip地址列表,如果非授权ip应用只允许使用24小时 |
|
||||
mdp.auth.ips=172.18.153.152 |
|
||||
|
|
||||
mdp.api-gate=http://gate |
|
||||
mdp.platform-branch-id=platform-branch-001 |
|
||||
|
|
||||
# 权限自动注册接口,云环境下 http://微服务名称/sys/qx/autoRegist,本地调试 http://ip:port/sys/qx/autoRegist |
|
||||
mdp.auth.qx-regist-url=http://sys/sys/qx/autoRegist |
|
||||
# 审计日志收集,云环境下 http://微服务名称/audit/base/operLog/add,本地调试 http://ip:port/audit/base/operLog/add |
|
||||
mdp.audit.audit-log-url=http://audit/audit/base/operLog/add |
|
||||
# 元数据/系统参数等接口 云环境下 http://微服务名称/sys/meta/itemOption/list/byItemCode,本地调试 http://ip:port/meta/itemOption/list/byItemCode |
|
||||
mdp.meta.item-options-query-uri= http://sys/meta/itemOption/list/byItemCode |
|
||||
# 元数据/系统参数等接口 云环境下 http://微服务名称/sys/meta/item/list,本地调试 http://ip:port/meta/item/list |
|
||||
mdp.meta.items-query-uri= http://sys/meta/item/list |
|
||||
# 第三方授权登陆参数配置数据访问接口 云环境下 http://微服务名称/app/appTpAuth/list,本地调试 http://ip:port/app/appTpAuth/list |
|
||||
mdp.tpa.app-tp-auth-query-uri= http://sys/app/appTpAuth/list |
|
||||
# 第三方授权支付参数配置数据访问接口 云环境下 http://微服务名称/app/appTpPay/list,本地调试 http://ip:port/app/appTpPay/list |
|
||||
mdp.tpa.app-tp-pay-query-uri= http://sys/app/appTpPay/list |
|
||||
# 第三方授权登陆登陆用户查询接口 云环境下 http://微服务名称/sys/userTpa/list,本地调试 http://ip:port/sys/userTpa/list |
|
||||
mdp.tpa.user-tpa-query-uri= http://sys/sys/userTpa/list |
|
||||
|
|
||||
# mdp平台授权验证服务器访问地址 cloud环境下换成 http://oauth2server,本地调试如果不起验证服务器,可改为 https://www.qingqinkj.com/api/m1/oauth2server |
|
||||
# oauth2client服务比较特殊,oauth2client工程访问oauth2server要通过非cloud方式访问。即http://ip:port/的方式,或者https://www.qingqinkj.com/api/m1/oauth2server |
|
||||
mdp.oauth2.server.uri= http://oauth2server |
|
||||
|
|
||||
# 下面配置 password 模式 |
|
||||
spring.security.oauth2.client.registration.password-client.provider=def-oauth-server |
|
||||
spring.security.oauth2.client.registration.password-client.client-id=${spring.application.name} |
|
||||
spring.security.oauth2.client.registration.password-client.client-secret= ${spring.application.name}-8888 |
|
||||
spring.security.oauth2.client.registration.password-client.authorization-grant-type= password |
|
||||
spring.security.oauth2.client.registration.password-client.scope= all |
|
||||
|
|
||||
# 下面配置 client_credentials 模式 |
|
||||
spring.security.oauth2.client.registration.def-client.provider=def-oauth-server |
|
||||
spring.security.oauth2.client.registration.def-client.client-id=${spring.application.name} |
|
||||
spring.security.oauth2.client.registration.def-client.client-secret= ${spring.application.name}-8888 |
|
||||
spring.security.oauth2.client.registration.def-client.authorization-grant-type= client_credentials |
|
||||
spring.security.oauth2.client.registration.def-client.scope= all |
|
||||
|
|
||||
# 下面配置authorization_code模式 |
|
||||
spring.security.oauth2.client.registration.code-client.provider=def-oauth-server |
|
||||
spring.security.oauth2.client.registration.code-client.client-id=${spring.application.name} |
|
||||
spring.security.oauth2.client.registration.code-client.client-secret= ${spring.application.name}-8888 |
|
||||
spring.security.oauth2.client.registration.code-client.authorization-grant-type= authorization_code |
|
||||
# 授权码模式下需要配置重定向地址 |
|
||||
spring.security.oauth2.client.registration.code-client.redirect-uri= ${messages.base-uri}/authorized |
|
||||
spring.security.oauth2.client.registration.code-client.scope= all |
|
||||
|
|
||||
# 授权码方式获取code |
|
||||
spring.security.oauth2.client.provider.def-oauth-server.authorization-uri= ${mdp.oauth2.server.uri}/oauth2/authorize |
|
||||
# 获取token接口 |
|
||||
spring.security.oauth2.client.provider.def-oauth-server.token-uri= ${mdp.oauth2.server.uri}/oauth2/token |
|
||||
|
|
||||
# 资源服务器 |
|
||||
spring.security.oauth2.resourceserver.jwt.jwk-set-uri= ${mdp.oauth2.server.uri}/oauth2/jwks |
|
||||
|
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver |
|
||||
spring.datasource.jdbc-url=jdbc:mysql://10.0.0.5:3306/xm?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMultiQueries=true&serverTimezone=CTT |
|
||||
spring.datasource.username=root |
|
||||
spring.datasource.password=1qaz@WSX |
|
||||
spring.datasource.validation-query=SELECT 1 |
|
||||
spring.datasource.test-on-borrow=true |
|
||||
spring.datasource.validation-interval=30000 |
|
||||
|
|
||||
|
|
||||
##begin 商户相关配置###顶级商户########################################################### |
|
||||
mdp.topMech.mechId=m1000 |
|
||||
mdp.topMech.mechName=广州擎勤网络科技有限公司 |
|
||||
mdp.topMech.userid=1000 |
|
||||
mdp.topMech.userName=广州擎勤网络科技有限公司 |
|
||||
mdp.topMech.accountId=m1000 |
|
||||
##end 商户相关配置################################################################ |
|
||||
|
|
||||
#腾讯云短信验证码@Value("${mdp.sms.appid}") |
|
||||
mdp.sms.appid=1400038813 |
|
||||
mdp.sms.app-secret=4b0659a2ee8ba4e54a570515fda94aef |
|
||||
|
|
||||
# REDIS (RedisProperties) |
|
||||
# Redis数据库索引(默认为0) |
|
||||
spring.redis.database=0 |
|
||||
# Redis服务器地址 |
|
||||
spring.redis.host=172.16.16.16 |
|
||||
# Redis服务器连接端口 |
|
||||
spring.redis.port=6379 |
|
||||
# Redis服务器连接密码(默认为空) |
|
||||
spring.redis.password=QqKj*123 |
|
||||
# 连接池最大连接数(使用负值表示没有限制) |
|
||||
spring.redis.pool.max-active=8 |
|
||||
# 连接池最大阻塞等待时间(使用负值表示没有限制) |
|
||||
spring.redis.pool.max-wait=-1 |
|
||||
# 连接池中的最大空闲连接 |
|
||||
spring.redis.pool.max-idle=8 |
|
||||
# 连接池中的最小空闲连接 |
|
||||
spring.redis.pool.min-idle=2 |
|
||||
# 连接超时时间(毫秒) |
|
||||
spring.redis.timeout=100000 |
|
||||
146
xm-bootstrap/src/main/resources/application-m1prod.properties
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,105 +0,0 @@ |
|||||
#内置服务器的端口 |
|
||||
spring.application.name=xm |
|
||||
|
|
||||
server.port=7067 |
|
||||
server.context-path=/${spring.application.name} |
|
||||
#session失效时间 秒 |
|
||||
server.session.timeout=43200 |
|
||||
spring.session.store-type=redis |
|
||||
#eureka.instance.preferIpAddress=true |
|
||||
spring.cloud.inetutils.preferredNetworks[0]=^10\. |
|
||||
spring.cloud.inetutils.preferredNetworks[1]=^172\. |
|
||||
#eureka.client.serviceUrl.defaultZone=http://134.175.57.249:6010/eureka/ |
|
||||
|
|
||||
spring.cloud.consul.host=localhost |
|
||||
spring.cloud.consul.port=8500 |
|
||||
|
|
||||
|
|
||||
#服务跟踪 |
|
||||
spring.zipkin.enabled=false |
|
||||
spring.zipkin.base-url=http://134.175.57.249:6019/ |
|
||||
spring.sleuth.sampler.percentage=1.0 |
|
||||
|
|
||||
|
|
||||
|
|
||||
#配置数据源 |
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver |
|
||||
spring.datasource.jdbc-url=jdbc:mysql://123.207.117.5:3306/adm?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMultiQueries=true&serverTimezone=CTT |
|
||||
spring.datasource.username=root |
|
||||
spring.datasource.password=lqaz@WSX |
|
||||
spring.datasource.validation-query=select 1 |
|
||||
spring.datasource.test-on-borrow=true |
|
||||
spring.datasource.validation-interval=30000 |
|
||||
spring.jpa.properties.hibernate.dialect =org.hibernate.dialect.Oracle10gDialect |
|
||||
spring.jpa.database =ORACLE |
|
||||
|
|
||||
#限制文件上传大小 |
|
||||
spring.http.multipart.maxFileSize=10Mb |
|
||||
spring.http.multipart.maxRequestSize=10Mb |
|
||||
|
|
||||
#spring.activiti.database-schema=wf |
|
||||
#spring.activiti.database-schema-update=true |
|
||||
|
|
||||
#更多数据源 |
|
||||
#custom.datasource.names=ds1 |
|
||||
#custom.datasource.ds1.driver-class-name=net.ucanaccess.jdbc.UcanaccessDriver |
|
||||
#custom.datasource.ds1.mdb-path=./mdb/FileScanData.mdb |
|
||||
#custom.datasource.ds1.url=jdbc:ucanaccess://./mdb/FileScanData.mdb;memory=false; |
|
||||
#custom.datasource.ds1.username=xb21cn |
|
||||
#custom.datasource.ds1.password= |
|
||||
#custom.datasource.ds1.validation-query=select 1 |
|
||||
#custom.datasource.ds1.test-on-borrow=false |
|
||||
#custom.datasource.ds1.test-while-idle=true |
|
||||
#custom.datasource.ds1.time-between-eviction-runs-millis=5000 |
|
||||
|
|
||||
spring.jackson.mapper.default-view-inclusion=false |
|
||||
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss |
|
||||
spring.mvc.date-format=yyyy-MM-dd HH:mm:ss |
|
||||
spring.jackson.time-zone=GMT+8 |
|
||||
spring.jackson.serialization.indent_output=true |
|
||||
spring.jackson.serialization.fail_on_empty_beans=false |
|
||||
spring.jackson.deserialization.fail_on_unknown_properties=false |
|
||||
spring.jackson.parser.allow_unquoted_control_chars=true |
|
||||
spring.jackson.parser.allow_single_quotes=true |
|
||||
|
|
||||
mdp.arc.file-upload-root-path=C:/arc/file |
|
||||
|
|
||||
#mdp.auth.ips=ip1,ip2,ip3,授权ip地址列表,如果非授权ip应用只允许使用24小时 |
|
||||
mdp.auth.ips=10.0.0.7 |
|
||||
|
|
||||
#配置图片文件上传下载的相关参数,如果此次配置将覆盖数据库系统参数中的 arcImageUploadRootPath 及 arcImageDownloadBaseUri两个参数 |
|
||||
#mdp.arc.image-upload-root-path=D:/arc/image |
|
||||
#mdp.arc.image-download-base-uri=arc/ |
|
||||
|
|
||||
#begin ac 会计核心账户相关配置 |
|
||||
#账户金额数据签名用于生成md5的key值 |
|
||||
mdp.ac.account-key=LFt1f0EtISBDkqVk9H90rSKVixXhw9eDECClaly2Mj5 |
|
||||
mdp.ac.account-check-sign=true |
|
||||
###end ac########## |
|
||||
|
|
||||
|
|
||||
##begin 商户相关配置###顶级商户########################################################### |
|
||||
mdp.topMech.mechId=m1000 |
|
||||
mdp.topMech.userid=m1000 |
|
||||
mdp.topMech.accountId=m1000 |
|
||||
##end 商户相关配置################################################################ |
|
||||
|
|
||||
# REDIS (RedisProperties) |
|
||||
# Redis数据库索引(默认为0) |
|
||||
spring.redis.database=0 |
|
||||
# Redis服务器地址 |
|
||||
spring.redis.host=134.175.57.249 |
|
||||
# Redis服务器连接端口 |
|
||||
spring.redis.port=6379 |
|
||||
# Redis服务器连接密码(默认为空) |
|
||||
spring.redis.password=QqKj*123 |
|
||||
# 连接池最大连接数(使用负值表示没有限制) |
|
||||
spring.redis.pool.max-active=8 |
|
||||
# 连接池最大阻塞等待时间(使用负值表示没有限制) |
|
||||
spring.redis.pool.max-wait=-1 |
|
||||
# 连接池中的最大空闲连接 |
|
||||
spring.redis.pool.max-idle=8 |
|
||||
# 连接池中的最小空闲连接 |
|
||||
spring.redis.pool.min-idle=2 |
|
||||
# 连接超时时间(毫秒) |
|
||||
spring.redis.timeout=100000 |
|
||||
@ -0,0 +1,278 @@ |
|||||
|
server: |
||||
|
port: 7067 |
||||
|
servlet: |
||||
|
context-path: |
||||
|
session: |
||||
|
timeout: 43200 |
||||
|
storeType: none |
||||
|
tomcat: |
||||
|
max-swallow-size: -1 |
||||
|
util: |
||||
|
http: |
||||
|
parser: |
||||
|
HttpParser: requestTargetAllow=|{}[] |
||||
|
error: |
||||
|
include-exception: true |
||||
|
include-stacktrace: ALWAYS |
||||
|
include-message: ALWAYS |
||||
|
compression: |
||||
|
enabled: true |
||||
|
min-response-size: 1024 |
||||
|
mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/* |
||||
|
|
||||
|
management: |
||||
|
endpoints: |
||||
|
web: |
||||
|
exposure: |
||||
|
include: metrics,httptrace |
||||
|
|
||||
|
spring: |
||||
|
cloud: |
||||
|
consul: |
||||
|
host: 134.175.57.249 |
||||
|
port: 8500 |
||||
|
inetutils: |
||||
|
preferredNetworks[0]: ^10\. |
||||
|
preferredNetworks[1]: ^172\. |
||||
|
discovery: |
||||
|
prefer-ip-address: true |
||||
|
healthCheckInterval: 15s |
||||
|
servlet: |
||||
|
multipart: |
||||
|
max-file-size: 10MB |
||||
|
max-request-size: 10MB |
||||
|
# 安全模块 |
||||
|
security: |
||||
|
oauth2: |
||||
|
resourceserver: |
||||
|
jwt: |
||||
|
jwk-set-uri: ${mdp.oauth2.server.uri}/oauth2/jwks |
||||
|
client: |
||||
|
# 下面配置 password 模式 |
||||
|
registration: |
||||
|
password-client: |
||||
|
provider: def-oauth-server |
||||
|
client-id: ${spring.application.name} |
||||
|
client-secret: ${spring.application.name}-8888 |
||||
|
authorization-grant-type: password |
||||
|
scope: all |
||||
|
# 下面配置 client_credentials 模式 |
||||
|
def-client: |
||||
|
provider: def-oauth-server |
||||
|
client-id: ${spring.application.name} |
||||
|
client-secret: ${spring.application.name}-8888 |
||||
|
authorization-grant-type: client_credentials |
||||
|
scope: all |
||||
|
# 下面配置authorization_code模式 |
||||
|
code-client: |
||||
|
provider: def-oauth-server |
||||
|
client-id: ${spring.application.name} |
||||
|
client-secret: ${spring.application.name}-8888 |
||||
|
authorization-grant-type: authorization_code |
||||
|
# 授权码模式下需要配置重定向地址 |
||||
|
redirect-uri: ${messages.base-uri}/authorized |
||||
|
scope: all |
||||
|
provider: |
||||
|
def-oauth-server: |
||||
|
# 授权码方式获取code |
||||
|
authorization-uri: ${mdp.oauth2.server.uri}/oauth2/authorize |
||||
|
# 获取token接口 |
||||
|
token-uri: ${mdp.oauth2.server.uri}/oauth2/token |
||||
|
mail: |
||||
|
host: smtp.mxhichina.com |
||||
|
port: 25 |
||||
|
username: kf@qingqinkj.com |
||||
|
password: QqKj@169$458 |
||||
|
default-encoding: UTF-8 |
||||
|
properties: |
||||
|
mail: |
||||
|
smtp: |
||||
|
auth: true |
||||
|
starttls: |
||||
|
enable: true |
||||
|
required: true |
||||
|
socketFactoryClass: javax.net.ssl.SSLSocketFactory |
||||
|
debug: true |
||||
|
jackson: |
||||
|
mapper: |
||||
|
default-view-inclusion: false |
||||
|
date-format: yyyy-MM-dd HH:mm:ss |
||||
|
time-zone: GMT+8 |
||||
|
serialization: |
||||
|
indent_output: true |
||||
|
fail_on_empty_beans: false |
||||
|
deserialization: |
||||
|
fail_on_unknown_properties: false |
||||
|
parser: |
||||
|
allow_unquoted_control_chars: true |
||||
|
allow_single_quotes: true |
||||
|
|
||||
|
mvc: |
||||
|
date-format: yyyy-MM-dd HH:mm:ss |
||||
|
## quartz定时任务,采用数据库方式 |
||||
|
quartz: |
||||
|
job-store-type: jdbc |
||||
|
initialize-schema: embedded |
||||
|
#定时任务启动开关,true-开 false-关 |
||||
|
auto-startup: false |
||||
|
#启动时更新己存在的Job |
||||
|
overwrite-existing-jobs: false |
||||
|
properties: |
||||
|
org: |
||||
|
quartz: |
||||
|
scheduler: |
||||
|
instanceName: MyScheduler |
||||
|
instanceId: AUTO |
||||
|
jobStore: |
||||
|
class: org.quartz.impl.jdbcjobstore.JobStoreTX |
||||
|
driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate |
||||
|
tablePrefix: QRTZ_ |
||||
|
isClustered: true |
||||
|
misfireThreshold: 60000 |
||||
|
clusterCheckinInterval: 10000 |
||||
|
threadPool: |
||||
|
class: org.quartz.simpl.SimpleThreadPool |
||||
|
threadCount: 10 |
||||
|
threadPriority: 5 |
||||
|
threadsInheritContextClassLoaderOfInitializingThread: true |
||||
|
jpa: |
||||
|
open-in-view: false |
||||
|
activiti: |
||||
|
check-process-definitions: false |
||||
|
#启用作业执行器 |
||||
|
async-executor-activate: false |
||||
|
#启用异步执行器 |
||||
|
job-executor-activate: false |
||||
|
aop: |
||||
|
proxy-target-class: true |
||||
|
#配置freemarker |
||||
|
freemarker: |
||||
|
# 设置模板后缀名 |
||||
|
suffix: .ftl |
||||
|
# 设置文档类型 |
||||
|
content-type: text/html |
||||
|
# 设置页面编码格式 |
||||
|
charset: UTF-8 |
||||
|
# 设置页面缓存 |
||||
|
cache: false |
||||
|
prefer-file-system-access: false |
||||
|
# 设置ftl文件路径 |
||||
|
template-loader-path: |
||||
|
- classpath:/templates |
||||
|
resource: |
||||
|
static-locations: classpath:/static/,classpath:/public/ |
||||
|
autoconfigure: |
||||
|
exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure |
||||
|
datasource: |
||||
|
primary: master |
||||
|
strict: false, |
||||
|
druid: |
||||
|
stat-view-servlet: |
||||
|
enabled: true |
||||
|
loginUsername: root |
||||
|
loginPassword: 123456 |
||||
|
allow: |
||||
|
web-stat-filter: |
||||
|
enabled: true |
||||
|
dynamic: |
||||
|
druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置) |
||||
|
# 连接池的配置信息 |
||||
|
# 初始化大小,最小,最大 |
||||
|
initial-size: 5 |
||||
|
min-idle: 5 |
||||
|
maxActive: 20 |
||||
|
# 配置获取连接等待超时的时间 |
||||
|
maxWait: 60000 |
||||
|
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 |
||||
|
timeBetweenEvictionRunsMillis: 60000 |
||||
|
# 配置一个连接在池中最小生存的时间,单位是毫秒 |
||||
|
minEvictableIdleTimeMillis: 300000 |
||||
|
validationQuery: SELECT 1 |
||||
|
testWhileIdle: true |
||||
|
testOnBorrow: false |
||||
|
testOnReturn: false |
||||
|
# 打开PSCache,并且指定每个连接上PSCache的大小 |
||||
|
poolPreparedStatements: true |
||||
|
maxPoolPreparedStatementPerConnectionSize: 20 |
||||
|
# 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙 |
||||
|
filters: stat,wall,slf4j |
||||
|
# 通过connectProperties属性来打开mergeSql功能;慢SQL记录 |
||||
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 |
||||
|
datasource: |
||||
|
master: |
||||
|
# url: jdbc:mysql://124.223.85.6:31605/xm?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai&allowMultiQueries=true |
||||
|
#username: zchcgl |
||||
|
#password: zchcgl123!@# |
||||
|
#driver-class-name: com.mysql.cj.jdbc.Driver |
||||
|
|
||||
|
url: jdbc:mysql://123.207.117.5:3306/xm?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMultiQueries=true&serverTimezone=CTT |
||||
|
username: root |
||||
|
password: 1qaz@WSX |
||||
|
driver-class-name: com.mysql.cj.jdbc.Driver |
||||
|
|
||||
|
|
||||
|
# 多数据源配置 |
||||
|
#multi-datasource1: |
||||
|
#url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai |
||||
|
#username: root |
||||
|
#password: root |
||||
|
#driver-class-name: com.mysql.cj.jdbc.Driver |
||||
|
mem-ds: |
||||
|
url: jdbc:mysql://123.207.117.5:3306/adm?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMultiQueries=true&serverTimezone=CTT |
||||
|
username: root |
||||
|
password: 1qaz@WSX |
||||
|
driver-class-name: com.mysql.cj.jdbc.Driver |
||||
|
mall-ds: |
||||
|
url: jdbc:mysql://123.207.117.5:3306/adm?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMultiQueries=true&serverTimezone=CTT |
||||
|
username: root |
||||
|
password: 1qaz@WSX |
||||
|
driver-class-name: com.mysql.cj.jdbc.Driver |
||||
|
#redis 配置 |
||||
|
redis: |
||||
|
database: 0 |
||||
|
host: 134.175.57.249 |
||||
|
timeout: 300s |
||||
|
lettuce: |
||||
|
pool: |
||||
|
max-active: 8 #最大连接数据库连接数,设 -1 为没有限制 |
||||
|
max-idle: 20 #最大等待连接中的数量,设 0 为没有限制 |
||||
|
max-wait: 10000 #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。 |
||||
|
min-idle: 8 #最小等待连接中的数量,设 0 为没有限制 |
||||
|
shutdown-timeout: 100ms |
||||
|
password: QqKj*123 |
||||
|
port: 6379 |
||||
|
#mybatis plus 设置 |
||||
|
mybatis-plus: |
||||
|
mapper-locations: classpath*:/**/**Mapper.xml |
||||
|
global-config: |
||||
|
# 关闭MP3.0自带的banner |
||||
|
banner: false |
||||
|
db-config: |
||||
|
#主键类型 0:"数据库ID自增",1:"该类型为未设置主键类型", 2:"用户输入ID",3:"全局唯一ID (数字类型唯一ID)", 4:"全局唯一ID UUID",5:"字符串全局唯一ID (idWorker 的字符串表示)"; |
||||
|
id-type: ASSIGN_ID |
||||
|
# 默认数据库表下划线命名 |
||||
|
table-underline: true |
||||
|
logic-delete-value: 1 |
||||
|
logic-not-delete-value: 0 |
||||
|
configuration: |
||||
|
# 这个配置会将执行的sql打印出来,在开发或测试的时候可以用 |
||||
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
||||
|
# 返回类型为Map,显示null对应的字段 |
||||
|
call-setters-on-nulls: true |
||||
|
|
||||
|
#Mybatis输出sql日志 |
||||
|
logging: |
||||
|
level: |
||||
|
org.jeecg.modules.system.mapper : info |
||||
|
|
||||
|
# mdp平台授权验证服务器访问地址 cloud环境下换成 http://gate,本地调试如果不起验证服务器,可改为 https://www.qingqinkj.com/api/m1/oauth2/oauth2 |
||||
|
# 客户端必须在数据库表adm.oauth_client_details中配置,否则无法访问 |
||||
|
mdp: |
||||
|
api-gate: http://gate |
||||
|
platform-branch-id: platform-branch-001 |
||||
|
# 站点语言类型cn\en等 |
||||
|
site-type: cn |
||||
|
oauth2: |
||||
|
server: |
||||
|
uri: http://oauth2server |
||||
|
|
||||
@ -1,21 +0,0 @@ |
|||||
## 开发/测试/生产环境分别对应devqianqin/test/prodqianqin |
|
||||
spring.profiles.active=m1prod |
|
||||
|
|
||||
#配置mybatis |
|
||||
mybatis.config-location=classpath:/mybatis/mybatis-config.xml |
|
||||
mybatis.mapperLocations=classpath*:/mybatis/mapper/**/*.xml |
|
||||
|
|
||||
#配置日志 |
|
||||
logging.level.root=info |
|
||||
|
|
||||
|
|
||||
|
|
||||
#配置thymeleaf |
|
||||
# THYMELEAF (ThymeleafAutoConfiguration) |
|
||||
spring.thymeleaf.prefix=classpath:/templates/ |
|
||||
spring.thymeleaf.suffix=.html |
|
||||
spring.thymeleaf.mode=HTML |
|
||||
spring.thymeleaf.encoding=UTF-8 |
|
||||
spring.thymeleaf.enabled=false |
|
||||
spring.thymeleaf.content-type=text/html |
|
||||
spring.thymeleaf.cache=true |
|
||||
@ -0,0 +1,5 @@ |
|||||
|
spring: |
||||
|
application: |
||||
|
name: xm |
||||
|
profiles: |
||||
|
active: prod |
||||
1329
xm-bootstrap/src/main/resources/stencilset_bpmn.json
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
Write
Preview
Loading…
Cancel
Save
Reference in new issue