Commit 836715fb by 张宗强

Merge branch 'master' of git@60.205.210.36:proudkids-pub/config-center.git

parents 1988677d f8eedf15
......@@ -6,11 +6,13 @@ jasypt:
spring:
redis:
remote: true #cachecloud 获取
host: 172.31.157.231
host: 192.168.1.82
port: 6379
password:
http:
multipart:
enabled: true
file-size-threshold: 10MB
max-file-size: 1000MB
max-request-size: 1000MB
jackson:
......@@ -26,9 +28,9 @@ ribbon:
enabled: false
OkHttp:
enabled: true
ReadTimeout: 60000
ConnectTimeout: 60000
SocketTimeout: 60000
ReadTimeout: 1800000
ConnectTimeout: 1800000
SocketTimeout: 1800000
feign:
hystrix:
......@@ -40,16 +42,9 @@ feign:
client:
config:
feignName:
connectTimeout: 30000
readTimeout: 30000
connectTimeout: 1800000
readTimeout: 1800000
#hystrix:
# command:
# default:
# execution:
# isolation:
# thread:
# timeoutInMilliseconds: 600000
hystrix:
command:
default:
......@@ -58,8 +53,7 @@ hystrix:
enabled: false
isolation: #命令的执行超时时间 超时将执行回退
thread:
timeoutInMilliseconds: 60000
timeoutInMilliseconds: 1800000
#监控短点配置
management:
security:
......@@ -71,8 +65,8 @@ endpoints:
enabled: false
proudkids:
oss-domain: http://files.proudkids.cn
ems-domain: http://ce.proudkids.cn
oss-domain: https://files.proudkids.cn
ems-domain: http://test.proudkids.cn
winter-domain: http://test.proudkids.cn
ct-default-header: https://files.proudkids.cn/default/ct.png
ft-default-header: https://files.proudkids.cn/default/ft.png
......
......@@ -8,10 +8,10 @@ redis:
# datasoure默认使用JDBC
spring:
rabbitmq:
host: 192.168.1.83
port: 5675
username: zzq223
password: 222222
host: 192.168.1.83
port: 5672
username: zzq223
password: 222222
zipkin:
rabbitmq:
queue: zipkin
......@@ -37,7 +37,7 @@ sharding:
driver-class-name: com.mysql.jdbc.Driver
username: proudkids
password: pds123!@#
jdbc-url: jdbc:mysql://60.205.210.36:3306/proudkids_ems?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
jdbc-url: jdbc:mysql://192.168.1.82:3306/proudkids_ce_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource:
names: ds
ds:
......@@ -45,7 +45,7 @@ sharding:
driver-class-name: com.mysql.jdbc.Driver
username: proudkids
password: pds123!@#
jdbc-url: jdbc:mysql://60.205.210.36:3306/proudkids_ems?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
jdbc-url: jdbc:mysql://192.168.1.82:3306/proudkids_ce_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
config:
sharding:
tables:
......
server:
port: 1017
#Redis cache 过期时间设置
redis:
cache:
expiration: 3600
# datasoure默认使用JDBC
spring:
rabbitmq:
host: 192.168.1.83
port: 5672
username: zzq223
password: 222222
zipkin:
rabbitmq:
queue: zipkin
sleuth:
sampler:
percentage: 1.0
# 分库分表支持
sharding:
jdbc:
defaultDataSourceName:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver
username: proudkids
password: pds123!@#
jdbc-url: jdbc:mysql://192.168.1.82:3306/proudkids_ce_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource:
names: ds
ds:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver
username: proudkids
password: pds123!@#
jdbc-url: jdbc:mysql://192.168.1.82:3306/proudkids_ce_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
#mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml
typeAliasesPackage: com.proudkids.admin.model.entity
global-config:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type: 0
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy: 1
#驼峰下划线转换
db-column-underline: true
#刷新mapper 调试神器
refresh-mapper: true
#数据库大写下划线转换
#capital-mode: true
configuration:
map-underscore-to-camel-case: true
cache-enabled: true
logging:
config: classpath:logback.xml
wechat:
#share_url: http://test.proudkids.cn/fissionClass/index.html?cid=122682&inviteRuserId=inviteRuserIdR&pid=2
access_token:
url: http://wechat.proudkids.cn/weixinAccessController.do?getAccessToken&accountid=gh_b94dbecca2cf
appid: wx2d17f5ef6a69a2ff
secret: 2a90355c5b4f03f883f9374f31dee995
ffmpeg:
location: ffmpeg
file:
tmp:
location: /opt/tmp
mp:
appId: 5c78c503
domain: iat
language: en_us
result_type: plain
audio_source: -1
server:
port: 3000
# datasoure默认使用JDBC
spring:
rabbitmq:
host: 192.168.1.83
port: 5672
username: zzq223
password: 222222
zipkin:
rabbitmq:
queue: zipkin
sleuth:
sampler:
percentage: 1.0
batch:
job:
enabled : true
initializer:
enabled: false
datasource:
driver-class-name: com.mysql.jdbc.Driver
username: proudkids
password: pds123!@#
url: jdbc:mysql://60.205.210.36:3306/proudkids_ems_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
url: jdbc:mysql://192.168.1.82:3306/proudkids_ce_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
proudkids:
auth:
clientId: ENC(rbxhyTerjSi2LATpOlQN0g==)
......@@ -20,8 +35,12 @@ urls:
- /social
- /signin
- /signup
- /wechat/token
- /mobile/token
- /ruser/mobile/token
- /admin/user/upload
- /apps/ph/material/uploadMaterial
- /admin/user/editInfo
logging:
config: classpath:logback.xml
config: classpath:logback.xml
\ No newline at end of file
......@@ -159,6 +159,9 @@ urls:
- /apps/mp/phRuserLessonAnswer/liked/**
- /apps/mp/phRuserLessonAnswer/share/page/query/**
- /apps/mp/phRuserLesson/content/**
- /apps/mp/phRuserLesson/new/content/**
- /apps/mp/phRuserLesson/query/evaluate/**
- /apps/mp/phRuserLesson/repordcard/**
- /apps/mp/phRuserLesson/getMiniProInfo/**
- /apps/mp/phRuserLessonAnswer/query/wechatUser/haveLiked/**
- /apps/mp/lessonSectionContent/query/**
......
......@@ -160,6 +160,9 @@ urls:
- /apps/mp/phRuserLessonAnswer/liked/**
- /apps/mp/phRuserLessonAnswer/share/page/query/**
- /apps/mp/phRuserLesson/content/**
- /apps/mp/phRuserLesson/new/content/**
- /apps/mp/phRuserLesson/query/evaluate/**
- /apps/mp/phRuserLesson/repordcard/**
- /apps/mp/phRuserLesson/getMiniProInfo/**
- /apps/mp/phRuserLessonAnswer/query/wechatUser/haveLiked/**
- /apps/mp/lessonSectionContent/query/**
......
......@@ -3,8 +3,8 @@ server:
spring:
rabbitmq:
host: 172.31.157.231
port: 5675
host: 192.168.1.83
port: 5672
username: zzq223
password: 222222
zipkin:
......@@ -13,13 +13,24 @@ spring:
sleuth:
sampler:
percentage: 0.5
http:
multipart:
enabled: true
file-size-threshold: 100MB
max-file-size: 1000MB
max-request-size: 1000MB
encoding:
charset: UTF-8
enabled: true
force: true
zuul:
servlet-path: /
servlet-path: /zuul
ignoredServices: '*'
#ignoredPatterns: /, /**/swagger-ui.html/**
host:
connect-timeout-millis: 30000
socket-timeout-millis: 30000
connect-timeout-millis: 1800000
socket-timeout-millis: 1800000
routes:
proudkids-auth:
path: /auth/**
......@@ -56,12 +67,26 @@ zuul:
serviceId: proudkids-pay
stripPrefix: true
sensitiveHeaders:
proudkids-mms:
path: /mms/**
serviceId: proudkids-mms
stripPrefix: true
sensitiveHeaders:
proudkids-apps:
path: /apps/**
serviceId: proudkids-apps
stripPrefix: true
sensitiveHeaders:
proudkids-website01:
path: /website01/**
serviceId: proudkids-website01
stripPrefix: true
sensitiveHeaders:
ratelimit:
key-prefix: proudkids-ratelimite
enabled: true
repository: REDIS
key-prefix: proudkids-ratelimite
enabled: true
repository: REDIS
behind-proxy: true
policies:
proudkids-upms-service:
......@@ -71,7 +96,7 @@ zuul:
security:
validate:
code: false
code: true
sessions: stateless
oauth2:
resource:
......@@ -83,6 +108,9 @@ security:
urls:
anon:
- /mobile/**
- /wechat/token/*
- /admin/user/upload
- /admin/user/editInfo
- /auth/**
- /admin/code/*
- /admin/smsCode/*
......@@ -99,7 +127,6 @@ urls:
- /aom/classLessonDetail/subscription
- /aom/lessonReview/query/lessonReviews/**
- /aom/lessonReview/download/review/files/**
- /ruser/v1/ruserChannel/installRuser/**
- /pay/v1/payOrders*
- /pay/wechatPay/**
- /pay/payCenter/**
......@@ -118,16 +145,23 @@ urls:
- /ruser/ruser/v1/ruserChannel/installRuser/**
- /ruser/ruser/v1/set/password
- /ruser/ruser/v1/checkCode/**
- /ruser/ruser/v1/miniPro/bind/openId/**
- /ruser/ruser/v1/is/bind/**
- /ruser/ruser/v1/cancle/push/message/**
- /ruser/ruser/v1/ruser/haveInsatll/**
- /ruser/en/website/**
- /ruser/v1/ruser/load/share/image*
- /ruser/v1/ruser/isHaveInstallWinter*
- /ruser/ruser/v1/cancle/push/message/**
- /ruser/ruser/v1/miniPro/bind/openId/**
- /ruser/ruser/v1/is/bind/**
- /mms/email/v1/send/**
- /mms/sms/v1/send
- /apps/wechat/**
- /apps/ph/material/uploadMaterial
- /apps/mp/phRuserLessonAnswer/liked/**
- /apps/mp/phRuserLessonAnswer/share/page/query/**
- /apps/mp/phRuserLesson/content/**
- /apps/mp/phRuserLesson/new/content/**
- /apps/mp/phRuserLesson/query/evaluate/**
- /apps/mp/phRuserLesson/repordcard/**
- /apps/mp/phRuserLesson/getMiniProInfo/**
- /apps/mp/phRuserLessonAnswer/query/wechatUser/haveLiked/**
- /apps/mp/lessonSectionContent/query/**
......@@ -135,3 +169,8 @@ urls:
logging:
config: classpath:logback.xml
server.port: 8443
server.ssl.key-store: classpath:ce.proudkids.cn.jks
server.ssl.key-store-password: proudkids
server.ssl.keyStoreType: JKS
\ No newline at end of file
server:
port: 8313
#Redis cache 过期时间设置
redis:
cache:
expiration: 3600
# datasoure默认使用JDBC
spring:
data:
mongodb:
database: pk-mg
host: 192.168.1.80
port: 27017
username: proudkids
password: pds123!@#
rabbitmq:
host: 192.168.1.83
port: 5672
username: zzq223
password: 222222
zipkin:
rabbitmq:
queue: zipkin
sleuth:
sampler:
percentage: 1.0
# 分库分表支持
sharding:
jdbc:
defaultDataSourceName:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver
username: proudkids
password: pds123!@#
jdbc-url: jdbc:mysql://192.168.1.82:3306/proudkids_ce_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource:
names: ds
ds:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver
username: proudkids
password: pds123!@#
jdbc-url: jdbc:mysql://192.168.1.82:3306/proudkids_ce_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
config:
sharding:
tables:
sys_log:
actual-data-nodes: ds.sys_log_${0..1}
table-strategy:
inline:
sharding-column: id
algorithm-expression: sys_log_${id % 2}
key-generator-column-name: id
#mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml
typeAliasesPackage: com.proudkids.admin.model.entity
global-config:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type: 0
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy: 1
#驼峰下划线转换
db-column-underline: true
#刷新mapper 调试神器
refresh-mapper: true
#数据库大写下划线转换
#capital-mode: true
configuration:
map-underscore-to-camel-case: true
cache-enabled: true
logging:
config: classpath:logback.xml
wechat:
access_token:
url: http://wechat.proudkids.cn/weixinAccessController.do?getAccessToken&accountid=gh_b94dbecca2cf
ruser:
openId:
url: http://wechat.proudkids.cn/weixinAccessController.do?getAccessToken&accountid=gh_b94dbecca2cf
appid: wx2d17f5ef6a69a2ff
secret: 2a90355c5b4f03f883f9374f31dee995
mms:
smstools:
url: https://ce.proudkids.cn/mms/sms/v1/send?
mini:
email_acount: devops@proudkids.cn
emial_password: Zzq222222
message_type: text/html;charset=UTF-8
protocol: smtp
send_name: devops@proudkids.cn
send_port: 465
smtp_host: smtp.exmail.qq.com
subject: Cancel Below Class(es)
sms:
sign: 骄傲吧孩子
sms.accessKeyId: LTAIAMiJjEYtdsGH
sms.accessKeySecret: 4NB3Fm7CnSCOeq9QI4RCckwR2yZOVu
allow_ip: 172.17.229.80;140.143.35.92;172.17.229.78;172.17.229.79;140.143.35.92;106.38.28.148;39.106.15.229;59.110.225.13;219.143.153.14;119.80.41.62;39.106.15.229;59.110.225.13;47.95.115.100;60.205.204.60;192.168.1.163;
domain: dysmsapi.aliyuncs.com
product: Dysmsapi
\ No newline at end of file
server:
port: 8713
redis:
cache:
expiration: 3600
spring:
rabbitmq:
host: 192.168.1.83
port: 5672
username: zzq223
password: 222222
zipkin:
rabbitmq:
queue: zipkin
sleuth:
sampler:
percentage: 1.0
sharding:
jdbc:
defaultDataSourceName:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver
username: proudkids
password: pds123!@#
jdbc-url: jdbc:mysql://192.168.1.82:3306/proudkids_ce_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource:
names: ds
ds:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver
username: proudkids
password: pds123!@#
jdbc-url: jdbc:mysql://192.168.1.82:3306/proudkids_ce_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
config:
sharding:
tables:
sys_log:
actual-data-nodes: ds.sys_log_${0..1}
table-strategy:
inline:
sharding-column: id
algorithm-expression: sys_log_${id % 2}
key-generator-column-name: id
mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml
typeAliasesPackage: com.proudkids.pay.model.entity
global-config:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type: 0
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy: 1
#驼峰下划线转换
db-column-underline: true
#刷新mapper 调试神器
refresh-mapper: true
#数据库大写下划线转换
#capital-mode: true
configuration:
map-underscore-to-camel-case: true
cache-enabled: true
logging:
config: classpath:logback.xml
\ No newline at end of file
server:
port: 6003
#Redis cache 过期时间设置
redis:
cache:
expiration: 3600
# datasoure默认使用JDBC
spring:
rabbitmq:
host: 192.168.1.83
port: 5672
username: zzq223
password: 222222
zipkin:
rabbitmq:
queue: zipkin
sleuth:
sampler:
percentage: 1.0
# 分库分表支持
sharding:
jdbc:
defaultDataSourceName:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver
username: proudkids
password: pds123!@#
jdbc-url: jdbc:mysql://192.168.1.82:3306/proudkids_ce_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource:
names: ds
ds:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver
username: proudkids
password: pds123!@#
jdbc-url: jdbc:mysql://192.168.1.82:3306/proudkids_ce_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
config:
sharding:
tables:
sys_log:
actual-data-nodes: ds.sys_log_${0..1}
table-strategy:
inline:
sharding-column: id
algorithm-expression: sys_log_${id % 2}
key-generator-column-name: id
#mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml
typeAliasesPackage: com.proudkids.ruser.model.entity
global-config:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type: 0
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy: 1
#驼峰下划线转换
db-column-underline: true
#刷新mapper 调试神器
refresh-mapper: true
#数据库大写下划线转换
#capital-mode: true
configuration:
map-underscore-to-camel-case: true
cache-enabled: true
fdfs:
file-host: http://123.206.94.20:9999/
tracker-list:
- 123.206.94.20:22122
#qiniu:
# accessKey: hM2cBDEM0FTYzpXbigRW90kV12NhhzhFM3jCzurJ
#secretKey: ENC(xUadBts805WTXkGtxsgPEybtR3D14GFQHAPUBDEnIoYmStJftu63fldDFUhUA2W2OU3NdRR0+3A=)
#bucket: proudkidscloud
#qiniuHost: http://p0hpm86wj.bkt.clouddn.com/
logging:
config: classpath:logback.xml
wechat:
share_url: http://test.proudkids.cn/fissionClass/index.html?cid=122682&inviteRuserId=inviteRuserIdR&pid=2
access_token:
url: http://wechat.proudkids.cn/weixinAccessController.do?getAccessToken&accountid=gh_b94dbecca2cf
ffmpeg:
location: ffmpeg
file:
tmp:
location: /opt/tmp
server:
port: 4003
#Redis cache 过期时间设置
redis:
cache:
expiration: 3600
# datasoure默认使用JDBC
spring:
rabbitmq:
host: 192.168.1.83
port: 5672
username: zzq223
password: 222222
zipkin:
rabbitmq:
queue: zipkin
sleuth:
sampler:
percentage: 1.0
# 分库分表支持
sharding:
jdbc:
defaultDataSourceName:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver
username: proudkids
password: pds123!@#
jdbc-url: jdbc:mysql://192.168.1.82:3306/proudkids_ce_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource:
names: ds
ds:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver
username: proudkids
password: pds123!@#
jdbc-url: jdbc:mysql://192.168.1.82:3306/proudkids_ce_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
config:
sharding:
tables:
sys_log:
actual-data-nodes: ds.sys_log_${0..1}
table-strategy:
inline:
sharding-column: id
algorithm-expression: sys_log_${id % 2}
key-generator-column-name: id
#mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml
typeAliasesPackage: com.proudkids.sales.model.entity
global-config:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type: 0
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy: 1
#驼峰下划线转换
db-column-underline: true
#刷新mapper 调试神器
refresh-mapper: true
#数据库大写下划线转换
#capital-mode: true
configuration:
map-underscore-to-camel-case: true
cache-enabled: true
fdfs:
file-host: http://123.206.94.20:9999/
tracker-list:
- 123.206.94.20:22122
#qiniu:
# accessKey: hM2cBDEM0FTYzpXbigRW90kV12NhhzhFM3jCzurJ
#secretKey: ENC(xUadBts805WTXkGtxsgPEybtR3D14GFQHAPUBDEnIoYmStJftu63fldDFUhUA2W2OU3NdRR0+3A=)
#bucket: proudkidscloud
#qiniuHost: http://p0hpm86wj.bkt.clouddn.com/
logging:
config: classpath:logback.xml
---
proudkids:
thirdparty:
card:
viewcard: http://192.168.1.83:8888/app/card-record
viewinvited: http://192.168.1.83:8888/app/invited-ref
\ No newline at end of file
......@@ -8,8 +8,8 @@ redis:
# datasoure默认使用JDBC
spring:
rabbitmq:
host: 172.31.157.231
port: 5675
host: 192.168.1.83
port: 5672
username: zzq223
password: 222222
zipkin:
......@@ -19,6 +19,7 @@ spring:
sampler:
percentage: 1.0
# 分库分表支持
sharding:
jdbc:
......@@ -27,7 +28,7 @@ sharding:
driver-class-name: com.mysql.jdbc.Driver
username: proudkids
password: pds123!@#
jdbc-url: jdbc:mysql://60.205.210.36:3306/proudkids_ems_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
jdbc-url: jdbc:mysql://192.168.1.82:3306/proudkids_ce_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource:
names: ds
ds:
......@@ -35,18 +36,7 @@ sharding:
driver-class-name: com.mysql.jdbc.Driver
username: proudkids
password: pds123!@#
jdbc-url: jdbc:mysql://60.205.210.36:3306/proudkids_ems_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
config:
sharding:
tables:
sys_log:
actual-data-nodes: ds.sys_log_${0..1}
table-strategy:
inline:
sharding-column: id
algorithm-expression: sys_log_${id % 2}
key-generator-column-name: id
jdbc-url: jdbc:mysql://192.168.1.82:3306/proudkids_ce_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
#mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml
......@@ -69,15 +59,21 @@ fdfs:
file-host: http://123.206.94.20:9999/
tracker-list:
- 123.206.94.20:22122
qiniu:
accessKey: hM2cBDEM0FTYzpXbigRW90kV12NhhzhFM3jCzurJ
secretKey: ENC(xUadBts805WTXkGtxsgPEybtR3D14GFQHAPUBDEnIoYmStJftu63fldDFUhUA2W2OU3NdRR0+3A=)
bucket: proudkidscloud
qiniuHost: http://p0hpm86wj.bkt.clouddn.com/
logging:
config: classpath:logback.xml
static:
location: /opt/devops/cms/
\ No newline at end of file
cms:
websites:
- domain: http://192.168.1.81
location: /opt/devops/www/officail/dist/
templete: templates/
- domain: http://192.168.1.81/dist
location: /opt/devops/www/m/dist/
templete: templates002/
\ No newline at end of file
server:
port: 5001
#Redis cache 过期时间设置
redis:
cache:
expiration: 3600
# datasoure默认使用JDBC
spring:
rabbitmq:
host: 192.168.1.83
port: 5675
username: zzq223
password: 222222
zipkin:
rabbitmq:
queue: zipkin
sleuth:
sampler:
percentage: 1.0
# 分库分表支持
sharding:
jdbc:
defaultDataSourceName:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver
username: proudkids
password: pds123!@#
jdbc-url: jdbc:mysql://192.168.1.82:3306/proudkids-website01?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource:
names: ds
ds:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver
username: proudkids
password: pds123!@#
jdbc-url: jdbc:mysql://192.168.1.82:3306/proudkids-website01?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
#mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml
typeAliasesPackage: com.proudkids.admin.model.entity
global-config:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type: 0
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy: 1
#驼峰下划线转换
db-column-underline: true
#刷新mapper 调试神器
refresh-mapper: true
#数据库大写下划线转换
#capital-mode: true
configuration:
map-underscore-to-camel-case: true
cache-enabled: true
logging:
config: classpath:logback.xml
cms:
websites:
- domain: http://192.168.1.80/website001
location: /opt/devops/www/website001/
templete: templates/
- domain: http://192.168.1.80/website001/m
location: /opt/devops/www/website001/m/
templete: templates002/
\ No newline at end of file
......@@ -6,14 +6,14 @@ redis:
spring:
datasource:
url: jdbc:mysql://60.205.210.36:3306/proudkids_ems_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
url: jdbc:mysql://192.168.1.82:3306/proudkids_ce_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver
username: proudkids
password: pds123!@#
rabbitmq:
host: 172.31.157.231
port: 5675
host: 192.168.1.83
port: 5672
username: zzq223
password: 222222
zipkin:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment