From 5c6a71fbcad27a637c775358d1004ddb95f55729 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Mon, 05 Feb 2018 17:29:41 +0800 Subject: [PATCH] 地图相关资源 设置不拦截 --- src/main/resources/application.yml | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 3b5c61a..6967306 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -5,8 +5,10 @@ tomcat.uri-encoding: UTF-8 spring: + thymeleaf: + cache: false datasource: - url: jdbc:mysql://101.37.22.173:3306/monitor?characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC + url: jdbc:mysql://47.96.19.115:3306/monitor_db?characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC username: root password: xOlx8z9L7Pt6y9YI #driver-class-name: com.mysql.cj.jdbc.Driver @@ -36,6 +38,7 @@ # ������������DruidDataSource��������������� useGlobalDataSourceStat: true + rabbitmq: host: 116.62.12.115 port: 5672 @@ -45,7 +48,7 @@ redis: - host: 101.37.22.173 + host: 47.96.19.115 port: 6379 password: redis_pass database: 0 @@ -59,8 +62,16 @@ data: mongodb: - uri: mongodb://101.37.22.173:27017/monitor + uri: mongodb://47.96.171.62:27017/monitor mybatis: mapper-locations: classpath*:/mapper/*Mapper.xml - type-aliases-package: com.moral.entity \ 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