123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- ### System Properties
- ## DB Config
- # localhost connect url
- #jdbc.url=jdbc\:mysql\://47.112.127.131\:3306/clean_machine?useUnicode\=true&characterEncoding\=UTF-8
- #jdbc.url=jdbc\:mysql\://localhost\:3306/clean_machine?useUnicode\=true&characterEncoding\=UTF-8
- #jdbc.username=hboxs
- #jdbc.password=hboxs@mysql
- ## RDS连接库
- #内网
- jdbc.url=jdbc\:mysql\://rm-wz995mu26a1479kz0.mysql.rds.aliyuncs.com\:3306/clean_machine?useUnicode\=true&characterEncoding\=UTF-8
- jdbc.username=root
- jdbc.password=sunzee@020
- jdbc.driver=com.mysql.jdbc.Driver
- ## Connection Pool Config
- connection_pools.min_pool_size=5
- connection_pools.acquire_increment=5
- connection_pools.max_pool_size=100
- connection_pools.initial_pool_size=5
- connection_pools.max_idle_time=600
- connection_pools.checkout_timeout=60000
- ## Freemarker Template Config
- template.number_format=0.\#\#\#\#\#\#
- template.datetime_format=yyyy-MM-dd
- template.time_format=HH\:mm\:ss
- template.boolean_format=true,false
- template.update_delay=0
- template.encoding=UTF-8
- template.date_format=yyyy-MM-dd
- template.loader_path=/WEB-INF/template
- template.suffix=.ftl
- ## Hibernate Config
- hibernate.cache.use_query_cache=false
- hibernate.cache.use_second_level_cache=false
- hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
- hibernate.jdbc.batch_size=30
- hibernate.cache.region.factory_class=org.hibernate.cache.impl.NoCachingRegionFactory
- hibernate.jdbc.fetch_size=50
- hibernate.connection.show_sql=true
- hibernate.format_sql=true
- ## Task Config
- task.queue_capacity=1000
- task.max_pool_size=50
- task.core_pool_size=5
- task.keep_alive_seconds=60
- ## Job Config
- ##job.order_release_stock.cron=0 0/30 * * * ?
- ##job.static_build.cron=0 0 1 * * ?
- ##job.cart_evict_expired.cron=0 0 1 * * ?
- ## Mail Server Config
- mail.smtp.starttls.enable=false
- mail.smtp.auth=true
- mail.smtp.timeout=25000
- ## System Config
- system.description=��������
- system.version=1.0
- system.name=cleanMachine
- system.project_name=127_0_0_1_hboxs
- system.show_powered=true
- ## Shipping Config
- sn.returns.maxLo=100
- sn.product.maxLo=100
- sn.shipping.maxLo=100
- sn.order.maxLo=100
- sn.charge.maxLo=100
- sn.waste.maxLo=100
- sn.trade.maxLo=100
- sn.shipping.prefix={.now?string('yyyyMM')}
- sn.order.prefix={.now?string('yyyyMM')}
- sn.product.prefix={.now?string('yyyyMM')}
- sn.returns.prefix={.now?string('yyyyMM')}
- sn.charge.prefix=T{.now?string('yyyyMM')}
- sn.waste.prefix=W{.now?string('yyyyMM')}
- sn.trade.prefix=F{.now?string('yyyyMM')}
- ## Message Config
- message.cache_seconds=3600
- message.shop_path=/WEB-INF/language/shop/message
- message.common_path=/WEB-INF/language/common/message
- message.admin_path=/WEB-INF/language/admin/message
- message.asl_path=/WEB-INF/language/asl/message
- ## Other Config
- locale=zh_CN
- url_escaping_charset=UTF-8
- #=====================redis========================
- redis.host=127.0.0.1
- redis.port=6379
- redis.pass=
- redis.default.db=0
- redis.timeout=100000
- redis.maxActive=1024
- redis.maxIdle=200
- redis.maxWait=10000
- redis.testOnBorrow=true
- #DBSync.testOnBorrow=true
|