|
@@ -118,26 +118,26 @@ mybatis.table-column-case=lowercase
|
|
|
############################################################################
|
|
|
#redis server configuration #
|
|
|
############################################################################
|
|
|
-#spring.redis.host=127.0.0.1
|
|
|
-#spring.redis.port=6379
|
|
|
-#spring.redis.password=password
|
|
|
-#spring.redis.timeout=10000
|
|
|
-#spring.redis.jedis.pool.max-wait=1000
|
|
|
-#spring.redis.jedis.pool.max-idle=200
|
|
|
-#spring.redis.lettuce.pool.max-active=-1
|
|
|
-#spring.redis.lettuce.pool.min-idle=0
|
|
|
+spring.redis.host=127.0.0.1
|
|
|
+spring.redis.port=6379
|
|
|
+spring.redis.password=password
|
|
|
+spring.redis.timeout=10000
|
|
|
+spring.redis.jedis.pool.max-wait=1000
|
|
|
+spring.redis.jedis.pool.max-idle=200
|
|
|
+spring.redis.lettuce.pool.max-active=-1
|
|
|
+spring.redis.lettuce.pool.min-idle=0
|
|
|
|
|
|
############################################################################
|
|
|
#mail configuration #
|
|
|
############################################################################
|
|
|
-#spring.mail.default-encoding=utf-8
|
|
|
-#spring.mail.host=smtp.163.com
|
|
|
-#spring.mail.port=465
|
|
|
-#spring.mail.username=maxkey@163.com
|
|
|
-#spring.mail.password=password
|
|
|
-#spring.mail.protocol=smtp
|
|
|
-#spring.mail.properties.ssl=true
|
|
|
-#spring.mail.properties.sender=maxkey@163.com
|
|
|
+spring.mail.default-encoding=utf-8
|
|
|
+spring.mail.host=smtp.163.com
|
|
|
+spring.mail.port=465
|
|
|
+spring.mail.username=maxkey@163.com
|
|
|
+spring.mail.password=password
|
|
|
+spring.mail.protocol=smtp
|
|
|
+spring.mail.properties.ssl=true
|
|
|
+spring.mail.properties.sender=maxkey@163.com
|
|
|
spring.mail.properties.mailotp.message.subject=MaxKey One Time PassWord
|
|
|
spring.mail.properties.mailotp.message.template={0} You Token is {1} , it validity in {2} minutes.
|
|
|
spring.mail.properties.mailotp.message.type=html
|