From 482d6f8eb5f0d8152afa4f2d7d3feb6635d5c05d Mon Sep 17 00:00:00 2001
From: 沈斌 <bluelazysb@hotmail.com>
Date: Fri, 02 Feb 2018 14:26:30 +0800
Subject: [PATCH] updated

---
 src/main/resources/application.yml |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index b76fb92..dfe775d 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -3,8 +3,17 @@
   session-timeout: 30
   tomcat.max-threads: 0
   tomcat.uri-encoding: UTF-8
-
+spring.profiles: default
+moral:
+  security:
+    jwt:
+      tokenExpirationTime: 15 # Number of minutes
+      refreshTokenExpTime: 60 # Minutes
+      tokenIssuer: http://monitor.7drlb.com
+      tokenSigningKey: xm9EV6Hy5RAFL8EEACIDAwQus
 spring:
+  thymeleaf:
+    cache: false
   datasource:
     url: jdbc:mysql://47.96.19.115:3306/monitor_db?characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC
     username: root
@@ -64,4 +73,5 @@
 
 mybatis:
   mapper-locations: classpath*:/mapper/*Mapper.xml
-  config-location: classpath:/mapper/mybatis-config.xml
\ No newline at end of file
+  config-location: classpath:/mapper/mybatis-config.xml
+

--
Gitblit v1.8.0