From 9437c74510c25be9d2413821c65fcf6ca4e6d21a Mon Sep 17 00:00:00 2001 From: xufenglei <xufenglei> Date: Fri, 31 Aug 2018 08:35:26 +0800 Subject: [PATCH] 获取优良天数 --- src/main/resources/application.yml | 35 +++++++++++++++++++++-------------- 1 files changed, 21 insertions(+), 14 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 3689780..b5a49fb 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,19 +1,18 @@ + server: - port: 8001 + port: 8080 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 + jsp-servlet: + init-parameters: + development: true + spring: thymeleaf: cache: false datasource: - url: jdbc:mysql://47.96.19.115:3306/monitor_db?characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC + url: jdbc:mysql://47.96.26.152:3306/monitor_db?characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC username: root password: xOlx8z9L7Pt6y9YI #driver-class-name: com.mysql.cj.jdbc.Driver @@ -53,10 +52,10 @@ redis: - host: 47.96.19.115 + host: 47.100.8.247 port: 6379 - password: redis_pass - database: 0 + password: + database: 1 timeout: 0 pool: max-active: 8 @@ -65,11 +64,19 @@ min-idle: 0 - data: - mongodb: - uri: mongodb://47.96.171.62:27017/monitor +# data: +# mongodb: +# uri: mongodb://47.96.171.62:27017/monitor mybatis: mapper-locations: classpath*:/mapper/*Mapper.xml config-location: classpath:/mapper/mybatis-config.xml +spring.profiles: default + +moral.security.jwt: + tokenExpirationTime: 5 # Number of minutes + refreshTokenExpTime: 60 # Minutes + tokenIssuer: http://monitor.7drlb.com + tokenSigningKey: xm9EV6Hy5RAFL8EEACIDAwQus + -- Gitblit v1.8.0