From ca56e2f284db90ce6b8466e0e93b5bd30912320c Mon Sep 17 00:00:00 2001 From: houruijun <411269194@kidgrow.com> Date: Tue, 14 Jul 2020 19:02:24 +0800 Subject: [PATCH] 1.运营后台统一增加token过期自动跳转登录页 2.H端和运营平台同账户可根据权限自由登录. --- kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-server/src/main/resources/application.yml | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-server/src/main/resources/application.yml b/kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-server/src/main/resources/application.yml index c4801ad..abd77b4 100644 --- a/kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-server/src/main/resources/application.yml +++ b/kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-server/src/main/resources/application.yml @@ -10,10 +10,10 @@ application: name: usercenter-server datasource: - url: jdbc:mysql://${kidgrow.datasource.ip}:3306/user_center?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC + url: jdbc:mysql://${kidgrow.datasource.ip}:3306/user_center?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai username: ${kidgrow.datasource.username} password: ${kidgrow.datasource.password} - driver-class-name: com.mysql.jdbc.Driver +# driver-class-name: com.mysql.jdbc.Driver type: com.alibaba.druid.pool.DruidDataSource druid: aop-patterns: com.kidgrow.usercenter.controller.*,com.kidgrow.usercenter.mapper.* @@ -53,7 +53,7 @@ second: 1800 #多租户配置 tenant: - enable: true + enable: false #多租户隔离字段 tenantid: tenant_id ignoreTables: @@ -63,7 +63,17 @@ - sys_role - sys_menu - sys_user_logs + - sys_organization + - sys_user_org + - sys_dictionaries + - sys_hospital + - sys_doctor + - sys_department + - sys_area + - sys_company + - sys_role_organization ignoreSqls: - com.kidgrow.usercenter.mapper.SysRoleMapper.findAll + - com.kidgrow.usercenter.mapper.SysUserMapper.findAppointUsers -- Gitblit v1.8.0