12345678910111213141516171819202122232425262728293031323334 |
- eureka.client.service-url.defaultZone=http://discovery.rankin.com:8821/eureka/
- #出现错误时, 直接抛出异常
- spring.mvc.throw-exception-if-no-handler-found=true
- #不要为我们工程中的资源文件建立映射
- spring.resources.add-mappings=false
- # http encoding
- spring.http.encoding.charset=UTF-8
- spring.http.encoding.force=true
- spring.http.encoding.enabled=true
- # cms 管理端 会话管理 信息
- jwt.header= X-Token
- jwt.cookie= X-Cookie
- jwt.secret= tomas
- jwt.expiration= 3600
- # 执行异步任务的 线程池大小
- cms.threadPoolAsyncTaskExecutor.thread.size=16
- #logging.level.root=debug
- ## redis 配置
- spring.redis.host=r-2ze20a12a3fa8464.redis.rds.aliyuncs.com
- #spring.redis.host=localhost
- spring.redis.port=6379
- spring.redis.password=Lingj20170915
- #spring.redis.password=
- spring.redis.timeout=3000
- spring.redis.pool.max-idle=8
- spring.redis.pool.min-idle=0
- spring.redis.pool.max-active=8
- spring.redis.pool.max-wait=-1
- spring.redis.key.prefix=api/web
|