Commit 87a8f648 by zhangy@proudkids.cn

'updatecache'

parent 76a802e4
#加密配置 #加密配置
jasypt: jasypt:
encryptor: encryptor:
password: proudkids password: proudkids
spring: spring:
redis: redis:
remote: true #cachecloud 获取 remote: true #cachecloud 获取
host: 192.168.1.82 host: 192.168.1.82
port: 6379 port: 6379
password: password:
http: http:
multipart: multipart:
max-file-size: 1000MB max-file-size: 1000MB
max-request-size: 1000MB max-request-size: 1000MB
jackson: jackson:
date-format: yyyy-MM-dd HH:mm:ss date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8 time-zone: GMT+8
cache: cache:
redis: redis:
expiration: 3601 expiration: 3601
ribbon: ribbon:
Httpclient: Httpclient:
enabled: false enabled: false
OkHttp: OkHttp:
enabled: true enabled: true
ReadTimeout: 30000 ReadTimeout: 30000
ConnectTimeout: 30000 ConnectTimeout: 30000
feign: feign:
hystrix: hystrix:
enabled: true enabled: true
okhttp: okhttp:
enabled: true enabled: true
httpclient: httpclient:
enabled: false enabled: false
client: client:
config: config:
feignName: feignName:
connectTimeout: 30000 connectTimeout: 30000
readTimeout: 30000 readTimeout: 30000
hystrix: hystrix:
command: command:
default: default:
execution: execution:
isolation: isolation:
thread: thread:
timeoutInMilliseconds: 60000 timeoutInMilliseconds: 60000
#监控短点配置 #监控短点配置
management: management:
security: security:
enabled: false enabled: false
endpoints: endpoints:
actuator: actuator:
enabled: true enabled: true
shutdown: shutdown:
enabled: false enabled: false
proudkids: proudkids:
oss-domain: http://files.proudkids.cn oss-domain: http://files.proudkids.cn
eeo: eeo:
sid: 2740354 sid: 2740354
secret: lTQ3Cp5S secret: lTQ3Cp5S
folderId: 1674421 folderId: 1674421
\ No newline at end of file
#加密配置 #加密配置
jasypt: jasypt:
encryptor: encryptor:
password: proudkids password: proudkids
spring: spring:
redis: redis:
remote: true #cachecloud 获取 remote: true #cachecloud 获取
host: 172.31.157.231 host: 172.31.157.231
port: 6379 port: 6379
password: password:
http: http:
multipart: multipart:
max-file-size: 1000MB max-file-size: 1000MB
max-request-size: 1000MB max-request-size: 1000MB
jackson: jackson:
date-format: yyyy-MM-dd HH:mm:ss date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8 time-zone: GMT+8
cache: cache:
redis: redis:
expiration: 3601 expiration: 3601
ribbon: ribbon:
Httpclient: Httpclient:
enabled: false enabled: false
OkHttp: OkHttp:
enabled: true enabled: true
ReadTimeout: 30000 ReadTimeout: 30000
ConnectTimeout: 30000 ConnectTimeout: 30000
feign: feign:
hystrix: hystrix:
enabled: true enabled: true
okhttp: okhttp:
enabled: true enabled: true
httpclient: httpclient:
enabled: false enabled: false
client: client:
config: config:
feignName: feignName:
connectTimeout: 30000 connectTimeout: 30000
readTimeout: 30000 readTimeout: 30000
hystrix: hystrix:
command: command:
default: default:
execution: execution:
isolation: isolation:
thread: thread:
timeoutInMilliseconds: 60000 timeoutInMilliseconds: 60000
#监控短点配置 #监控短点配置
management: management:
security: security:
enabled: false enabled: false
endpoints: endpoints:
actuator: actuator:
enabled: true enabled: true
shutdown: shutdown:
enabled: false enabled: false
proudkids: proudkids:
oss-domain: http://files.proudkids.cn oss-domain: http://files.proudkids.cn
eeo: eeo:
sid: 2740354 sid: 2740354
secret: lTQ3Cp5S secret: lTQ3Cp5S
folderId: 1674421 folderId: 1674421
\ No newline at end of file
server: server:
port: 3000 port: 3000
# datasoure默认使用JDBC # datasoure默认使用JDBC
spring: spring:
datasource: datasource:
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: proudkids
password: pds123!@# password: pds123!@#
url: jdbc:mysql://192.168.1.82:3306/proudkids_ems?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false url: jdbc:mysql://192.168.1.82:3306/proudkids_ems?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
proudkids: proudkids:
auth: auth:
clientId: ENC(rbxhyTerjSi2LATpOlQN0g==) clientId: ENC(rbxhyTerjSi2LATpOlQN0g==)
clientSecret: ENC(rbxhyTerjSi2LATpOlQN0g==) clientSecret: ENC(rbxhyTerjSi2LATpOlQN0g==)
scope: server scope: server
urls: urls:
anon: anon:
- /social - /social
- /signin - /signin
- /signup - /signup
- /mobile/token - /mobile/token
- /admin/user/upload - /admin/user/upload
- /admin/user/editInfo - /admin/user/editInfo
logging: logging:
config: classpath:logback.xml config: classpath:logback.xml
server: server:
port: 3000 port: 3000
# datasoure默认使用JDBC # datasoure默认使用JDBC
spring: spring:
datasource: datasource:
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: proudkids
password: pds123!@# password: pds123!@#
url: jdbc:mysql://60.205.210.36:3306/proudkids_ems_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false url: jdbc:mysql://60.205.210.36:3306/proudkids_ems_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
proudkids: proudkids:
auth: auth:
clientId: ENC(rbxhyTerjSi2LATpOlQN0g==) clientId: ENC(rbxhyTerjSi2LATpOlQN0g==)
clientSecret: ENC(rbxhyTerjSi2LATpOlQN0g==) clientSecret: ENC(rbxhyTerjSi2LATpOlQN0g==)
scope: server scope: server
urls: urls:
anon: anon:
- /social - /social
- /signin - /signin
- /signup - /signup
- /mobile/token - /mobile/token
logging: logging:
config: classpath:logback.xml config: classpath:logback.xml
server: server:
port: 9999 port: 9999
spring: spring:
rabbitmq: rabbitmq:
host: 192.168.1.83 host: 192.168.1.83
port: 5672 port: 5672
username: zzq223 username: zzq223
password: 222222 password: 222222
zipkin: zipkin:
rabbitmq: rabbitmq:
queue: zipkin queue: zipkin
sleuth: sleuth:
sampler: sampler:
percentage: 0.5 percentage: 0.5
http: http:
encoding: encoding:
charset: UTF-8 charset: UTF-8
enabled: true enabled: true
force: true force: true
zuul: zuul:
servlet-path: /zuul servlet-path: /zuul
ignoredServices: '*' ignoredServices: '*'
#ignoredPatterns: /, /**/swagger-ui.html/** #ignoredPatterns: /, /**/swagger-ui.html/**
host: host:
connect-timeout-millis: 30000 connect-timeout-millis: 30000
socket-timeout-millis: 30000 socket-timeout-millis: 30000
routes: routes:
proudkids-auth: proudkids-auth:
path: /auth/** path: /auth/**
serviceId: proudkids-auth serviceId: proudkids-auth
stripPrefix: true stripPrefix: true
sensitiveHeaders: sensitiveHeaders:
proudkids-upms-service: proudkids-upms-service:
path: /admin/** path: /admin/**
serviceId: proudkids-upms-service serviceId: proudkids-upms-service
stripPrefix: true stripPrefix: true
sensitiveHeaders: sensitiveHeaders:
proudkids-sales: proudkids-sales:
path: /sales/** path: /sales/**
serviceId: proudkids-sales serviceId: proudkids-sales
stripPrefix: true stripPrefix: true
sensitiveHeaders: sensitiveHeaders:
proudkids-ruser: proudkids-ruser:
path: /ruser/** path: /ruser/**
serviceId: proudkids-ruser serviceId: proudkids-ruser
stripPrefix: true stripPrefix: true
sensitiveHeaders: sensitiveHeaders:
proudkids-aom: proudkids-aom:
path: /aom/** path: /aom/**
serviceId: proudkids-aom serviceId: proudkids-aom
stripPrefix: true stripPrefix: true
sensitiveHeaders: sensitiveHeaders:
proudkids-workflow: proudkids-workflow:
path: /bills/** path: /bills/**
serviceId: proudkids-workflow serviceId: proudkids-workflow
stripPrefix: true stripPrefix: true
sensitiveHeaders: sensitiveHeaders:
ratelimit: ratelimit:
key-prefix: proudkids-ratelimite key-prefix: proudkids-ratelimite
enabled: true enabled: true
repository: REDIS repository: REDIS
behind-proxy: true behind-proxy: true
policies: policies:
proudkids-upms-service: proudkids-upms-service:
limit: 100 limit: 100
quota: 100 quota: 100
refresh-interval: 3 refresh-interval: 3
security: security:
validate: validate:
code: true code: true
sessions: stateless sessions: stateless
oauth2: oauth2:
resource: resource:
loadBalanced: true loadBalanced: true
user-info-uri: http://proudkids-auth/user user-info-uri: http://proudkids-auth/user
prefer-token-info: false prefer-token-info: false
service-id: proudkids-gateway service-id: proudkids-gateway
urls: urls:
anon: anon:
- /mobile/** - /mobile/**
- /admin/user/upload - /admin/user/upload
- /admin/user/editInfo - /admin/user/editInfo
- /auth/** - /auth/**
- /admin/code/* - /admin/code/*
- /admin/smsCode/* - /admin/smsCode/*
- /admin/user/info - /admin/user/info
- /admin/menu/userTree - /admin/menu/userTree
- /swagger-resources/** - /swagger-resources/**
- /swagger-ui.html - /swagger-ui.html
- /*/v2/api-docs - /*/v2/api-docs
- /swagger/api-docs - /swagger/api-docs
- /webjars/** - /webjars/**
- /aom/lesson/downloadZip/* - /aom/lesson/downloadZip/*
#- /zuul/aom/lesson/courseware/upload #- /zuul/aom/lesson/courseware/upload
- /ruser/** - /ruser/**
- /ruser/v1/ruserChannel/installRuser/** - /ruser/v1/ruserChannel/installRuser/**
logging: logging:
config: classpath:logback.xml config: classpath:logback.xml
server: server:
port: 9999 port: 9999
spring: spring:
rabbitmq: rabbitmq:
host: 172.31.157.231 host: 172.31.157.231
port: 5672 port: 5672
username: zzq223 username: zzq223
password: 222222 password: 222222
zipkin: zipkin:
rabbitmq: rabbitmq:
queue: zipkin queue: zipkin
sleuth: sleuth:
sampler: sampler:
percentage: 0.5 percentage: 0.5
zuul: zuul:
servlet-path: / servlet-path: /
ignoredServices: '*' ignoredServices: '*'
host: host:
connect-timeout-millis: 30000 connect-timeout-millis: 30000
socket-timeout-millis: 30000 socket-timeout-millis: 30000
routes: routes:
proudkids-auth: proudkids-auth:
path: /auth/** path: /auth/**
serviceId: proudkids-auth serviceId: proudkids-auth
stripPrefix: true stripPrefix: true
sensitiveHeaders: sensitiveHeaders:
proudkids-upms-service: proudkids-upms-service:
path: /admin/** path: /admin/**
serviceId: proudkids-upms-service serviceId: proudkids-upms-service
stripPrefix: true stripPrefix: true
sensitiveHeaders: sensitiveHeaders:
proudkids-sales: proudkids-sales:
path: /sales/** path: /sales/**
serviceId: proudkids-sales serviceId: proudkids-sales
stripPrefix: true stripPrefix: true
sensitiveHeaders: sensitiveHeaders:
proudkids-ruser: proudkids-ruser:
path: /ruser/** path: /ruser/**
serviceId: proudkids-ruser serviceId: proudkids-ruser
stripPrefix: true stripPrefix: true
sensitiveHeaders: sensitiveHeaders:
proudkids-aom: proudkids-aom:
path: /aom/** path: /aom/**
serviceId: proudkids-aom serviceId: proudkids-aom
stripPrefix: true stripPrefix: true
sensitiveHeaders: sensitiveHeaders:
proudkids-workflow: proudkids-workflow:
path: /bills/** path: /bills/**
serviceId: proudkids-workflow serviceId: proudkids-workflow
stripPrefix: true stripPrefix: true
sensitiveHeaders: sensitiveHeaders:
ratelimit: ratelimit:
key-prefix: proudkids-ratelimite key-prefix: proudkids-ratelimite
enabled: true enabled: true
repository: REDIS repository: REDIS
behind-proxy: true behind-proxy: true
policies: policies:
proudkids-upms-service: proudkids-upms-service:
limit: 100 limit: 100
quota: 100 quota: 100
refresh-interval: 3 refresh-interval: 3
security: security:
validate: validate:
code: false code: false
sessions: stateless sessions: stateless
oauth2: oauth2:
resource: resource:
loadBalanced: true loadBalanced: true
user-info-uri: http://proudkids-auth/user user-info-uri: http://proudkids-auth/user
prefer-token-info: false prefer-token-info: false
service-id: proudkids-gateway service-id: proudkids-gateway
urls: urls:
anon: anon:
- /mobile/** - /mobile/**
- /auth/** - /auth/**
- /admin/code/* - /admin/code/*
- /admin/smsCode/* - /admin/smsCode/*
- /admin/user/info - /admin/user/info
- /admin/menu/userTree - /admin/menu/userTree
- /swagger-resources/** - /swagger-resources/**
- /swagger-ui.html - /swagger-ui.html
- /*/v2/api-docs - /*/v2/api-docs
- /swagger/api-docs - /swagger/api-docs
- /webjars/** - /webjars/**
- /aom/lesson/downloadZip/* - /aom/lesson/downloadZip/*
- /ruser/v1/ruserChannel/installRuser/** - /ruser/v1/ruserChannel/installRuser/**
logging: logging:
config: classpath:logback.xml config: classpath:logback.xml
server: server:
port: 4000 port: 4000
#Redis cache 过期时间设置 #Redis cache 过期时间设置
redis: redis:
cache: cache:
expiration: 3600 expiration: 3600
# datasoure默认使用JDBC # datasoure默认使用JDBC
spring: spring:
rabbitmq: rabbitmq:
host: 192.168.1.83 host: 192.168.1.83
port: 5672 port: 5672
username: zzq223 username: zzq223
password: 222222 password: 222222
zipkin: zipkin:
rabbitmq: rabbitmq:
queue: zipkin queue: zipkin
sleuth: sleuth:
sampler: sampler:
percentage: 1.0 percentage: 1.0
# 分库分表支持 # 分库分表支持
sharding: sharding:
jdbc: jdbc:
defaultDataSourceName: defaultDataSourceName:
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: proudkids
password: pds123!@# password: pds123!@#
jdbc-url: jdbc:mysql://192.168.1.82:3306/proudkids_ems?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false jdbc-url: jdbc:mysql://192.168.1.82:3306/proudkids_ems?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource: datasource:
names: ds names: ds
ds: ds:
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: proudkids
password: pds123!@# password: pds123!@#
jdbc-url: jdbc:mysql://192.168.1.82:3306/proudkids_ems?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false jdbc-url: jdbc:mysql://192.168.1.82:3306/proudkids_ems?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
config: config:
sharding: sharding:
tables: tables:
sys_log: sys_log:
actual-data-nodes: ds.sys_log_${0..1} actual-data-nodes: ds.sys_log_${0..1}
table-strategy: table-strategy:
inline: inline:
sharding-column: id sharding-column: id
algorithm-expression: sys_log_${id % 2} algorithm-expression: sys_log_${id % 2}
key-generator-column-name: id key-generator-column-name: id
#mybaits-plus配置,修改主键类型,mapper.xml、type 别名等 #mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
mybatis-plus: mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml mapper-locations: classpath:/mapper/*Mapper.xml
typeAliasesPackage: com.proudkids.admin.model.entity typeAliasesPackage: com.proudkids.admin.model.entity
global-config: global-config:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID"; #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type: 0 id-type: 0
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断" #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy: 1 field-strategy: 1
#驼峰下划线转换 #驼峰下划线转换
db-column-underline: true db-column-underline: true
#刷新mapper 调试神器 #刷新mapper 调试神器
refresh-mapper: true refresh-mapper: true
#数据库大写下划线转换 #数据库大写下划线转换
#capital-mode: true #capital-mode: true
configuration: configuration:
map-underscore-to-camel-case: true map-underscore-to-camel-case: true
cache-enabled: true cache-enabled: true
fdfs: fdfs:
file-host: http://123.206.94.20:9999/ file-host: http://123.206.94.20:9999/
tracker-list: tracker-list:
- 123.206.94.20:22122 - 123.206.94.20:22122
qiniu: qiniu:
accessKey: hM2cBDEM0FTYzpXbigRW90kV12NhhzhFM3jCzurJ accessKey: hM2cBDEM0FTYzpXbigRW90kV12NhhzhFM3jCzurJ
secretKey: ENC(xUadBts805WTXkGtxsgPEybtR3D14GFQHAPUBDEnIoYmStJftu63fldDFUhUA2W2OU3NdRR0+3A=) secretKey: ENC(xUadBts805WTXkGtxsgPEybtR3D14GFQHAPUBDEnIoYmStJftu63fldDFUhUA2W2OU3NdRR0+3A=)
bucket: proudkidscloud bucket: proudkidscloud
qiniuHost: http://p0hpm86wj.bkt.clouddn.com/ qiniuHost: http://p0hpm86wj.bkt.clouddn.com/
logging: logging:
config: classpath:logback.xml config: classpath:logback.xml
\ No newline at end of file
server: server:
port: 4000 port: 4000
#Redis cache 过期时间设置 #Redis cache 过期时间设置
redis: redis:
cache: cache:
expiration: 3600 expiration: 3600
# datasoure默认使用JDBC # datasoure默认使用JDBC
spring: spring:
rabbitmq: rabbitmq:
host: 172.31.157.231 host: 172.31.157.231
port: 5672 port: 5672
username: zzq223 username: zzq223
password: 222222 password: 222222
zipkin: zipkin:
rabbitmq: rabbitmq:
queue: zipkin queue: zipkin
sleuth: sleuth:
sampler: sampler:
percentage: 1.0 percentage: 1.0
# 分库分表支持 # 分库分表支持
sharding: sharding:
jdbc: jdbc:
defaultDataSourceName: defaultDataSourceName:
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: proudkids
password: pds123!@# password: pds123!@#
jdbc-url: jdbc:mysql://60.205.210.36:3306/proudkids_ems_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false jdbc-url: jdbc:mysql://60.205.210.36:3306/proudkids_ems_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource: datasource:
names: ds names: ds
ds: ds:
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: proudkids
password: pds123!@# password: pds123!@#
jdbc-url: jdbc:mysql://60.205.210.36:3306/proudkids_ems_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false jdbc-url: jdbc:mysql://60.205.210.36:3306/proudkids_ems_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
config: config:
sharding: sharding:
tables: tables:
sys_log: sys_log:
actual-data-nodes: ds.sys_log_${0..1} actual-data-nodes: ds.sys_log_${0..1}
table-strategy: table-strategy:
inline: inline:
sharding-column: id sharding-column: id
algorithm-expression: sys_log_${id % 2} algorithm-expression: sys_log_${id % 2}
key-generator-column-name: id key-generator-column-name: id
#mybaits-plus配置,修改主键类型,mapper.xml、type 别名等 #mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
mybatis-plus: mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml mapper-locations: classpath:/mapper/*Mapper.xml
typeAliasesPackage: com.proudkids.admin.model.entity typeAliasesPackage: com.proudkids.admin.model.entity
global-config: global-config:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID"; #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type: 0 id-type: 0
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断" #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy: 1 field-strategy: 1
#驼峰下划线转换 #驼峰下划线转换
db-column-underline: true db-column-underline: true
#刷新mapper 调试神器 #刷新mapper 调试神器
refresh-mapper: true refresh-mapper: true
#数据库大写下划线转换 #数据库大写下划线转换
#capital-mode: true #capital-mode: true
configuration: configuration:
map-underscore-to-camel-case: true map-underscore-to-camel-case: true
cache-enabled: true cache-enabled: true
fdfs: fdfs:
file-host: http://123.206.94.20:9999/ file-host: http://123.206.94.20:9999/
tracker-list: tracker-list:
- 123.206.94.20:22122 - 123.206.94.20:22122
qiniu: qiniu:
accessKey: hM2cBDEM0FTYzpXbigRW90kV12NhhzhFM3jCzurJ accessKey: hM2cBDEM0FTYzpXbigRW90kV12NhhzhFM3jCzurJ
secretKey: ENC(xUadBts805WTXkGtxsgPEybtR3D14GFQHAPUBDEnIoYmStJftu63fldDFUhUA2W2OU3NdRR0+3A=) secretKey: ENC(xUadBts805WTXkGtxsgPEybtR3D14GFQHAPUBDEnIoYmStJftu63fldDFUhUA2W2OU3NdRR0+3A=)
bucket: proudkidscloud bucket: proudkidscloud
qiniuHost: http://p0hpm86wj.bkt.clouddn.com/ qiniuHost: http://p0hpm86wj.bkt.clouddn.com/
logging: logging:
config: classpath:logback.xml config: classpath:logback.xml
\ No newline at end of file
server: server:
port: 7313 port: 7313
redis: redis:
cache: cache:
expiration: 3600 expiration: 3600
spring: spring:
datasource: datasource:
url: jdbc:mysql://192.168.1.82:3306/proudkids_ems?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false url: jdbc:mysql://192.168.1.82:3306/proudkids_ems?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: proudkids
password: pds123!@# password: pds123!@#
rabbitmq: rabbitmq:
host: 192.168.1.83 host: 192.168.1.83
port: 5672 port: 5672
username: zzq223 username: zzq223
password: 222222 password: 222222
zipkin: zipkin:
rabbitmq: rabbitmq:
queue: zipkin queue: zipkin
sleuth: sleuth:
sampler: sampler:
percentage: 1.0 percentage: 1.0
activiti: activiti:
database-schema-update: true database-schema-update: true
check-process-definitions: true check-process-definitions: true
process-definition-location-prefix: classpath:/processes/ process-definition-location-prefix: classpath:/processes/
history-level: full history-level: full
mybatis-plus: mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml mapper-locations: classpath:/mapper/*Mapper.xml
typeAliasesPackage: com.proudkids.workflow.model.entity typeAliasesPackage: com.proudkids.workflow.model.entity
global-config: global-config:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID"; #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type: 0 id-type: 0
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断" #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy: 1 field-strategy: 1
#驼峰下划线转换 #驼峰下划线转换
db-column-underline: true db-column-underline: true
#刷新mapper 调试神器 #刷新mapper 调试神器
refresh-mapper: true refresh-mapper: true
#数据库大写下划线转换 #数据库大写下划线转换
#capital-mode: true #capital-mode: true
configuration: configuration:
map-underscore-to-camel-case: true map-underscore-to-camel-case: true
cache-enabled: true cache-enabled: true
logging: logging:
config: classpath:logback.xml config: classpath:logback.xml
\ No newline at end of file
server: server:
port: 7313 port: 7313
redis: redis:
cache: cache:
expiration: 3600 expiration: 3600
spring: spring:
datasource: datasource:
url: jdbc:mysql://60.205.210.36:3306/proudkids_ems_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false url: jdbc:mysql://60.205.210.36:3306/proudkids_ems_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: proudkids username: proudkids
password: pds123!@# password: pds123!@#
rabbitmq: rabbitmq:
host: 172.31.157.231 host: 172.31.157.231
port: 5672 port: 5672
username: zzq223 username: zzq223
password: 222222 password: 222222
zipkin: zipkin:
rabbitmq: rabbitmq:
queue: zipkin queue: zipkin
sleuth: sleuth:
sampler: sampler:
percentage: 1.0 percentage: 1.0
activiti: activiti:
database-schema-update: true database-schema-update: true
check-process-definitions: true check-process-definitions: true
process-definition-location-prefix: classpath:/processes/ process-definition-location-prefix: classpath:/processes/
history-level: full history-level: full
mybatis-plus: mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml mapper-locations: classpath:/mapper/*Mapper.xml
typeAliasesPackage: com.proudkids.workflow.model.entity typeAliasesPackage: com.proudkids.workflow.model.entity
global-config: global-config:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID"; #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type: 0 id-type: 0
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断" #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy: 1 field-strategy: 1
#驼峰下划线转换 #驼峰下划线转换
db-column-underline: true db-column-underline: true
#刷新mapper 调试神器 #刷新mapper 调试神器
refresh-mapper: true refresh-mapper: true
#数据库大写下划线转换 #数据库大写下划线转换
#capital-mode: true #capital-mode: true
configuration: configuration:
map-underscore-to-camel-case: true map-underscore-to-camel-case: true
cache-enabled: true cache-enabled: true
logging: logging:
config: classpath:logback.xml config: classpath:logback.xml
\ No newline at end of file
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