From f38347a76a04a87cab5a97bfb6bdeb49a7a9a0a0 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Tue, 27 Feb 2018 17:36:08 +0800 Subject: [PATCH] 手机号唯一功能。设备修改后刷新redis --- src/main/resources/application.yml | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index b76fb92..6967306 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -5,6 +5,8 @@ tomcat.uri-encoding: UTF-8 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 +66,12 @@ 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 + +spring.profiles: default + +moral.security.jwt: + tokenExpirationTime: 15 # Number of minutes + refreshTokenExpTime: 60 # Minutes + tokenIssuer: http://monitor.7drlb.com + tokenSigningKey: xm9EV6Hy5RAFL8EEACIDAwQus \ No newline at end of file -- Gitblit v1.8.0