diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 3ae19564..bf191ea3 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -3,15 +3,11 @@
-
-
-
-
-
-
+
+
+
-
@@ -182,7 +178,7 @@
-
+
@@ -280,6 +276,11 @@
149
+
+ file://$PROJECT_DIR$/src/main/java/com/lz/modules/sys/controller/SysLoginController.java
+ 170
+
+
diff --git a/logback/api-all.log b/logback/api-all.log
new file mode 100644
index 00000000..3a1354d4
--- /dev/null
+++ b/logback/api-all.log
@@ -0,0 +1,92 @@
+2020-06-02 22:25:17.610 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.1.178 Starting LinziApplication on fumeiaideMacBook-Pro.local with PID 32560 (/Users/fumeiai/workspace/enterpriseManagement/lz_management/target/classes started by fumeiai in /Users/fumeiai/workspace/enterpriseManagement/lz_management)
+2020-06-02 22:25:17.613 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.1.178 The following profiles are active: dev
+2020-06-02 22:25:18.287 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.1.178 Multiple Spring Data modules found, entering strict repository configuration mode!
+2020-06-02 22:25:18.289 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.1.178 Bootstrapping Spring Data Redis repositories in DEFAULT mode.
+2020-06-02 22:25:18.326 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.1.178 Finished Spring Data repository scanning in 27ms. Found 0 Redis repository interfaces.
+2020-06-02 22:25:18.509 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'shiroConfig' of type [com.lz.config.ShiroConfig$$EnhancerBySpringCGLIB$$f418c3cf] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:18.594 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'mybatis-plus-com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties' of type [com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:18.597 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'mybatisPlusConfig' of type [com.lz.config.MybatisPlusConfig$$EnhancerBySpringCGLIB$$cdc46d2b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:18.601 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'paginationInterceptor' of type [com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:18.606 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration' of type [com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration$$EnhancerBySpringCGLIB$$8de0404a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:18.609 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'dynamic-com.lz.datasource.properties.DynamicDataSourceProperties' of type [com.lz.datasource.properties.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:18.609 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'dynamicDataSourceConfig' of type [com.lz.datasource.config.DynamicDataSourceConfig$$EnhancerBySpringCGLIB$$d0ca65] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:18.614 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'dataSourceProperties' of type [com.lz.datasource.properties.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.173 [localhost,,] [main] INFO com.alibaba.druid.pool.DruidDataSource - 10.0.1.178 {dataSource-1} inited
+2020-06-02 22:25:24.174 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'dynamicDataSource' of type [com.lz.datasource.config.DynamicDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.685 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'sqlSessionFactory' of type [org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.690 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'sqlSessionTemplate' of type [org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.690 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'sysMenuDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.692 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'sysMenuDao' of type [com.sun.proxy.$Proxy87] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.694 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'sysUserDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.695 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'sysUserDao' of type [com.sun.proxy.$Proxy88] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.697 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'sysUserTokenDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.697 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'sysUserTokenDao' of type [com.sun.proxy.$Proxy89] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.698 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'shiroServiceImpl' of type [com.lz.modules.sys.service.impl.ShiroServiceImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.698 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'OAuth2Realm' of type [com.lz.modules.sys.oauth2.OAuth2Realm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.830 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.867 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.888 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:25.193 [localhost,,] [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - 10.0.1.178 Tomcat initialized with port(s): 8080 (http)
+2020-06-02 22:25:25.199 [localhost,,] [main] INFO org.apache.catalina.core.StandardService - 10.0.1.178 Starting service [Tomcat]
+2020-06-02 22:25:25.200 [localhost,,] [main] INFO org.apache.catalina.core.StandardEngine - 10.0.1.178 Starting Servlet engine: [Apache Tomcat/9.0.30]
+2020-06-02 22:25:25.255 [localhost,,] [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/lz_management] - 10.0.1.178 Initializing Spring embedded WebApplicationContext
+2020-06-02 22:25:25.255 [localhost,,] [main] INFO org.springframework.web.context.ContextLoader - 10.0.1.178 Root WebApplicationContext: initialization completed in 7609 ms
+2020-06-02 22:25:25.897 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.1.178 Using default implementation for ThreadExecutor
+2020-06-02 22:25:25.907 [localhost,,] [main] INFO org.quartz.core.SchedulerSignalerImpl - 10.0.1.178 Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
+2020-06-02 22:25:25.907 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.1.178 Quartz Scheduler v.2.3.0 created.
+2020-06-02 22:25:25.912 [localhost,,] [main] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.1.178 Using db table-based data access locking (synchronization).
+2020-06-02 22:25:25.913 [localhost,,] [main] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.1.178 JobStoreCMT initialized.
+2020-06-02 22:25:25.914 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.1.178 Scheduler meta-data: Quartz Scheduler (v2.3.0) 'LinziScheduler' with instanceId 'fumeiaideMacBook-Pro.local1591107925898'
+ Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
+ NOT STARTED.
+ Currently in standby mode.
+ Number of jobs executed: 0
+ Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 20 threads.
+ Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.
+
+2020-06-02 22:25:25.914 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.1.178 Quartz scheduler 'LinziScheduler' initialized from an externally provided properties instance.
+2020-06-02 22:25:25.914 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.1.178 Quartz scheduler version: 2.3.0
+2020-06-02 22:25:25.915 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.1.178 JobFactory set to: org.springframework.scheduling.quartz.AdaptableJobFactory@682e445e
+2020-06-02 22:25:28.337 [localhost,,] [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping - 10.0.1.178 Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
+2020-06-02 22:25:28.618 [localhost,,] [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - 10.0.1.178 Initializing ExecutorService 'applicationTaskExecutor'
+2020-06-02 22:25:28.860 [localhost,,] [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - 10.0.1.178 Context refreshed
+2020-06-02 22:25:28.868 [localhost,,] [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - 10.0.1.178 Found 1 custom documentation plugin(s)
+2020-06-02 22:25:28.890 [localhost,,] [main] INFO s.d.spring.web.scanners.ApiListingReferenceScanner - 10.0.1.178 Scanning for api listing references
+2020-06-02 22:25:28.983 [localhost,,] [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator - 10.0.1.178 Generating unique operation named: userInfoUsingGET_1
+2020-06-02 22:25:28.990 [localhost,,] [main] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.1.178 Will start Quartz Scheduler [LinziScheduler] in 30 seconds
+2020-06-02 22:25:29.022 [localhost,,] [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - 10.0.1.178 Tomcat started on port(s): 8080 (http) with context path '/lz_management'
+2020-06-02 22:25:29.024 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.1.178 Started LinziApplication in 12.044 seconds (JVM running for 12.78)
+2020-06-02 22:25:58.994 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.1.178 Starting Quartz Scheduler now, after delay of 30 seconds
+2020-06-02 22:25:59.377 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO org.quartz.core.QuartzScheduler - 10.0.1.178 Scheduler LinziScheduler_$_fumeiaideMacBook-Pro.local1591107925898 started.
+2020-06-02 22:27:06.471 [localhost,,] [http-nio-8080-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/lz_management] - 10.0.1.178 Initializing Spring DispatcherServlet 'dispatcherServlet'
+2020-06-02 22:27:06.472 [localhost,,] [http-nio-8080-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - 10.0.1.178 Initializing Servlet 'dispatcherServlet'
+2020-06-02 22:27:06.480 [localhost,,] [http-nio-8080-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - 10.0.1.178 Completed initialization in 8 ms
+2020-06-02 22:27:06.498 [localhost,,] [http-nio-8080-exec-1] DEBUG c.lz.modules.sys.dao.SysUserTokenDao.queryByToken - 10.0.1.178 ==> Preparing: select * from sys_user_token where token = ?
+2020-06-02 22:27:06.505 [localhost,,] [http-nio-8080-exec-1] DEBUG c.lz.modules.sys.dao.SysUserTokenDao.queryByToken - 10.0.1.178 ==> Parameters: 0c040e85291e654c25e2e8929dd77c3b(String)
+2020-06-02 22:27:06.520 [localhost,,] [http-nio-8080-exec-1] DEBUG c.lz.modules.sys.dao.SysUserTokenDao.queryByToken - 10.0.1.178 <== Total: 1
+2020-06-02 22:27:06.521 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.sys.dao.SysUserDao.selectById - 10.0.1.178 ==> Preparing: SELECT user_id,real_name,user_no,username,password,mobile,salt,email,status,create_user_id,create_time FROM sys_user WHERE user_id=?
+2020-06-02 22:27:06.522 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.sys.dao.SysUserDao.selectById - 10.0.1.178 ==> Parameters: 2(Long)
+2020-06-02 22:27:06.566 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.sys.dao.SysUserDao.selectById - 10.0.1.178 <== Total: 1
+2020-06-02 22:27:06.592 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.sys.dao.SysUserDao.queryAllPerms - 10.0.1.178 ==> Preparing: select m.perms from sys_user_role ur LEFT JOIN sys_role_menu rm on ur.role_id = rm.role_id LEFT JOIN sys_menu m on rm.menu_id = m.menu_id where ur.user_id = ?
+2020-06-02 22:27:06.593 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.sys.dao.SysUserDao.queryAllPerms - 10.0.1.178 ==> Parameters: 2(Long)
+2020-06-02 22:27:06.627 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.sys.dao.SysUserDao.queryAllPerms - 10.0.1.178 <== Total: 72
+2020-06-02 22:27:06.636 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.sys.dao.SysUserDao.getUserInfos - 10.0.1.178 ==> Preparing: select su.*,GROUP_CONCAT(sr.role_name) role_name from sys_user su left join sys_user_role sur on su.user_id=sur.user_id left join sys_role sr on sur.role_id=sr.role_id where 1=1 and su.create_user_id =? GROUP BY su.user_id limit ?, ?
+2020-06-02 22:27:06.638 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.sys.dao.SysUserDao.getUserInfos - 10.0.1.178 ==> Parameters: 2(Long), 0(Integer), 20(Integer)
+2020-06-02 22:27:06.679 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.sys.dao.SysUserDao.getUserInfos - 10.0.1.178 <== Total: 2
+2020-06-02 22:27:06.681 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.sys.dao.SysUserDao.getTotalCount - 10.0.1.178 ==> Preparing: select count(DISTINCT(su.user_id)) from sys_user su left join sys_user_role sur on su.user_id=sur.user_id left join sys_role sr on sur.role_id=sr.role_id where 1=1 and su.create_user_id =?
+2020-06-02 22:27:06.682 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.sys.dao.SysUserDao.getTotalCount - 10.0.1.178 ==> Parameters: 2(Long)
+2020-06-02 22:27:06.730 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.sys.dao.SysUserDao.getTotalCount - 10.0.1.178 <== Total: 1
+2020-06-02 22:27:07.918 [localhost,,] [http-nio-8080-exec-2] DEBUG c.lz.modules.sys.dao.SysUserTokenDao.queryByToken - 10.0.1.178 ==> Preparing: select * from sys_user_token where token = ?
+2020-06-02 22:27:07.918 [localhost,,] [http-nio-8080-exec-2] DEBUG c.lz.modules.sys.dao.SysUserTokenDao.queryByToken - 10.0.1.178 ==> Parameters: 0c040e85291e654c25e2e8929dd77c3b(String)
+2020-06-02 22:27:07.927 [localhost,,] [http-nio-8080-exec-2] DEBUG c.lz.modules.sys.dao.SysUserTokenDao.queryByToken - 10.0.1.178 <== Total: 1
+2020-06-02 22:27:07.928 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.sys.dao.SysUserDao.selectById - 10.0.1.178 ==> Preparing: SELECT user_id,real_name,user_no,username,password,mobile,salt,email,status,create_user_id,create_time FROM sys_user WHERE user_id=?
+2020-06-02 22:27:07.928 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.sys.dao.SysUserDao.selectById - 10.0.1.178 ==> Parameters: 2(Long)
+2020-06-02 22:27:07.980 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.sys.dao.SysUserDao.selectById - 10.0.1.178 <== Total: 1
+2020-06-02 22:27:07.982 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.sys.dao.SysUserDao.queryAllPerms - 10.0.1.178 ==> Preparing: select m.perms from sys_user_role ur LEFT JOIN sys_role_menu rm on ur.role_id = rm.role_id LEFT JOIN sys_menu m on rm.menu_id = m.menu_id where ur.user_id = ?
+2020-06-02 22:27:07.982 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.sys.dao.SysUserDao.queryAllPerms - 10.0.1.178 ==> Parameters: 2(Long)
+2020-06-02 22:27:08.048 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.sys.dao.SysUserDao.queryAllPerms - 10.0.1.178 <== Total: 72
+2020-06-02 22:27:08.080 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.sys.dao.SysRoleDao.selectPage - 10.0.1.178 ==> Preparing: SELECT COUNT(1) FROM sys_role
+2020-06-02 22:27:08.081 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.sys.dao.SysRoleDao.selectPage - 10.0.1.178 ==> Parameters:
+2020-06-02 22:27:08.104 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.sys.dao.SysRoleDao.selectPage - 10.0.1.178 ==> Preparing: SELECT role_id,role_name,remark,create_user_id,create_time FROM sys_role LIMIT ?,?
+2020-06-02 22:27:08.105 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.sys.dao.SysRoleDao.selectPage - 10.0.1.178 ==> Parameters: 0(Long), 20(Long)
+2020-06-02 22:27:08.150 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.sys.dao.SysRoleDao.selectPage - 10.0.1.178 <== Total: 10
diff --git a/logback/api-error.log b/logback/api-error.log
new file mode 100644
index 00000000..e69de29b
diff --git a/logback/api-info.log b/logback/api-info.log
new file mode 100644
index 00000000..d9d3e85e
--- /dev/null
+++ b/logback/api-info.log
@@ -0,0 +1,63 @@
+2020-06-02 22:25:17.610 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.1.178 Starting LinziApplication on fumeiaideMacBook-Pro.local with PID 32560 (/Users/fumeiai/workspace/enterpriseManagement/lz_management/target/classes started by fumeiai in /Users/fumeiai/workspace/enterpriseManagement/lz_management)
+2020-06-02 22:25:17.613 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.1.178 The following profiles are active: dev
+2020-06-02 22:25:18.287 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.1.178 Multiple Spring Data modules found, entering strict repository configuration mode!
+2020-06-02 22:25:18.289 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.1.178 Bootstrapping Spring Data Redis repositories in DEFAULT mode.
+2020-06-02 22:25:18.326 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.1.178 Finished Spring Data repository scanning in 27ms. Found 0 Redis repository interfaces.
+2020-06-02 22:25:18.509 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'shiroConfig' of type [com.lz.config.ShiroConfig$$EnhancerBySpringCGLIB$$f418c3cf] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:18.594 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'mybatis-plus-com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties' of type [com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:18.597 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'mybatisPlusConfig' of type [com.lz.config.MybatisPlusConfig$$EnhancerBySpringCGLIB$$cdc46d2b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:18.601 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'paginationInterceptor' of type [com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:18.606 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration' of type [com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration$$EnhancerBySpringCGLIB$$8de0404a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:18.609 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'dynamic-com.lz.datasource.properties.DynamicDataSourceProperties' of type [com.lz.datasource.properties.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:18.609 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'dynamicDataSourceConfig' of type [com.lz.datasource.config.DynamicDataSourceConfig$$EnhancerBySpringCGLIB$$d0ca65] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:18.614 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'dataSourceProperties' of type [com.lz.datasource.properties.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.173 [localhost,,] [main] INFO com.alibaba.druid.pool.DruidDataSource - 10.0.1.178 {dataSource-1} inited
+2020-06-02 22:25:24.174 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'dynamicDataSource' of type [com.lz.datasource.config.DynamicDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.685 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'sqlSessionFactory' of type [org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.690 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'sqlSessionTemplate' of type [org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.690 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'sysMenuDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.692 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'sysMenuDao' of type [com.sun.proxy.$Proxy87] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.694 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'sysUserDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.695 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'sysUserDao' of type [com.sun.proxy.$Proxy88] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.697 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'sysUserTokenDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.697 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'sysUserTokenDao' of type [com.sun.proxy.$Proxy89] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.698 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'shiroServiceImpl' of type [com.lz.modules.sys.service.impl.ShiroServiceImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.698 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'OAuth2Realm' of type [com.lz.modules.sys.oauth2.OAuth2Realm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.830 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.867 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:24.888 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.1.178 Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2020-06-02 22:25:25.193 [localhost,,] [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - 10.0.1.178 Tomcat initialized with port(s): 8080 (http)
+2020-06-02 22:25:25.199 [localhost,,] [main] INFO org.apache.catalina.core.StandardService - 10.0.1.178 Starting service [Tomcat]
+2020-06-02 22:25:25.200 [localhost,,] [main] INFO org.apache.catalina.core.StandardEngine - 10.0.1.178 Starting Servlet engine: [Apache Tomcat/9.0.30]
+2020-06-02 22:25:25.255 [localhost,,] [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/lz_management] - 10.0.1.178 Initializing Spring embedded WebApplicationContext
+2020-06-02 22:25:25.255 [localhost,,] [main] INFO org.springframework.web.context.ContextLoader - 10.0.1.178 Root WebApplicationContext: initialization completed in 7609 ms
+2020-06-02 22:25:25.897 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.1.178 Using default implementation for ThreadExecutor
+2020-06-02 22:25:25.907 [localhost,,] [main] INFO org.quartz.core.SchedulerSignalerImpl - 10.0.1.178 Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
+2020-06-02 22:25:25.907 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.1.178 Quartz Scheduler v.2.3.0 created.
+2020-06-02 22:25:25.912 [localhost,,] [main] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.1.178 Using db table-based data access locking (synchronization).
+2020-06-02 22:25:25.913 [localhost,,] [main] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.1.178 JobStoreCMT initialized.
+2020-06-02 22:25:25.914 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.1.178 Scheduler meta-data: Quartz Scheduler (v2.3.0) 'LinziScheduler' with instanceId 'fumeiaideMacBook-Pro.local1591107925898'
+ Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
+ NOT STARTED.
+ Currently in standby mode.
+ Number of jobs executed: 0
+ Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 20 threads.
+ Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.
+
+2020-06-02 22:25:25.914 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.1.178 Quartz scheduler 'LinziScheduler' initialized from an externally provided properties instance.
+2020-06-02 22:25:25.914 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.1.178 Quartz scheduler version: 2.3.0
+2020-06-02 22:25:25.915 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.1.178 JobFactory set to: org.springframework.scheduling.quartz.AdaptableJobFactory@682e445e
+2020-06-02 22:25:28.337 [localhost,,] [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping - 10.0.1.178 Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
+2020-06-02 22:25:28.618 [localhost,,] [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - 10.0.1.178 Initializing ExecutorService 'applicationTaskExecutor'
+2020-06-02 22:25:28.860 [localhost,,] [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - 10.0.1.178 Context refreshed
+2020-06-02 22:25:28.868 [localhost,,] [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - 10.0.1.178 Found 1 custom documentation plugin(s)
+2020-06-02 22:25:28.890 [localhost,,] [main] INFO s.d.spring.web.scanners.ApiListingReferenceScanner - 10.0.1.178 Scanning for api listing references
+2020-06-02 22:25:28.983 [localhost,,] [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator - 10.0.1.178 Generating unique operation named: userInfoUsingGET_1
+2020-06-02 22:25:28.990 [localhost,,] [main] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.1.178 Will start Quartz Scheduler [LinziScheduler] in 30 seconds
+2020-06-02 22:25:29.022 [localhost,,] [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - 10.0.1.178 Tomcat started on port(s): 8080 (http) with context path '/lz_management'
+2020-06-02 22:25:29.024 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.1.178 Started LinziApplication in 12.044 seconds (JVM running for 12.78)
+2020-06-02 22:25:58.994 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.1.178 Starting Quartz Scheduler now, after delay of 30 seconds
+2020-06-02 22:25:59.377 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO org.quartz.core.QuartzScheduler - 10.0.1.178 Scheduler LinziScheduler_$_fumeiaideMacBook-Pro.local1591107925898 started.
+2020-06-02 22:27:06.471 [localhost,,] [http-nio-8080-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/lz_management] - 10.0.1.178 Initializing Spring DispatcherServlet 'dispatcherServlet'
+2020-06-02 22:27:06.472 [localhost,,] [http-nio-8080-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - 10.0.1.178 Initializing Servlet 'dispatcherServlet'
+2020-06-02 22:27:06.480 [localhost,,] [http-nio-8080-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - 10.0.1.178 Completed initialization in 8 ms
diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml
index df458c11..7e4e98d3 100644
--- a/src/main/resources/logback-spring.xml
+++ b/src/main/resources/logback-spring.xml
@@ -1,23 +1,80 @@
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+ ${LOG_PATTERN}
+ UTF-8
+
+
+
+ ${LOG_HOME}/api-info.log
+
+ ${LOG_HOME}/logs/api-info.%d{yyyy-MM-dd }.%i.log
+
+ 500MB
+
+ >
+
+
+
+
+
+ ${LOG_PATTERN}
+ UTF-8
+
+
+ INFO
+
+
+
+ ${LOG_HOME}/api-error.log
+
+ ${LOG_HOME}/logs/api-error.%d{yyyy-MM-dd }.%i.log
+
+ 500MB
+
+
+
+ ${LOG_PATTERN}
+ UTF-8
+
+
+ ERROR
+
+
+
+ ${LOG_HOME}/api-all.log
+
+ ${LOG_HOME}/logs/api-all.%d{yyyy-MM-dd }.%i.log
+
+ 500MB
+
+
+
+ ${LOG_PATTERN}
+ UTF-8
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
diff --git a/target/classes/com/lz/common/utils/DhgjSmsUtil.class b/target/classes/com/lz/common/utils/DhgjSmsUtil.class
index 5dc59568..0d760636 100644
Binary files a/target/classes/com/lz/common/utils/DhgjSmsUtil.class and b/target/classes/com/lz/common/utils/DhgjSmsUtil.class differ
diff --git a/target/classes/com/lz/modules/sys/controller/SysLoginController.class b/target/classes/com/lz/modules/sys/controller/SysLoginController.class
index 64be9e4b..1fc22338 100644
Binary files a/target/classes/com/lz/modules/sys/controller/SysLoginController.class and b/target/classes/com/lz/modules/sys/controller/SysLoginController.class differ
diff --git a/target/classes/logback-spring.xml b/target/classes/logback-spring.xml
index df458c11..7e4e98d3 100644
--- a/target/classes/logback-spring.xml
+++ b/target/classes/logback-spring.xml
@@ -1,23 +1,80 @@
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+ ${LOG_PATTERN}
+ UTF-8
+
+
+
+ ${LOG_HOME}/api-info.log
+
+ ${LOG_HOME}/logs/api-info.%d{yyyy-MM-dd }.%i.log
+
+ 500MB
+
+ >
+
+
+
+
+
+ ${LOG_PATTERN}
+ UTF-8
+
+
+ INFO
+
+
+
+ ${LOG_HOME}/api-error.log
+
+ ${LOG_HOME}/logs/api-error.%d{yyyy-MM-dd }.%i.log
+
+ 500MB
+
+
+
+ ${LOG_PATTERN}
+ UTF-8
+
+
+ ERROR
+
+
+
+ ${LOG_HOME}/api-all.log
+
+ ${LOG_HOME}/logs/api-all.%d{yyyy-MM-dd }.%i.log
+
+ 500MB
+
+
+
+ ${LOG_PATTERN}
+ UTF-8
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+