parent
44f3e4a12e
commit
3630200fcb
|
|
@ -1,18 +1,18 @@
|
|||
package com.boot.security.server.config;
|
||||
|
||||
import java.sql.SQLException;
|
||||
|
||||
import javax.sql.DataSource;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.boot.web.servlet.FilterRegistrationBean;
|
||||
import org.springframework.boot.web.servlet.ServletRegistrationBean;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
|
||||
import com.alibaba.druid.pool.DruidDataSource;
|
||||
import com.alibaba.druid.support.http.StatViewServlet;
|
||||
import com.alibaba.druid.support.http.WebStatFilter;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.boot.web.servlet.FilterRegistrationBean;
|
||||
import org.springframework.boot.web.servlet.ServletRegistrationBean;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Primary;
|
||||
|
||||
import javax.sql.DataSource;
|
||||
import java.sql.SQLException;
|
||||
|
||||
/**
|
||||
* Druid数据源配置<br>
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ import com.boot.security.server.dao.SysLogsDao;
|
|||
import com.boot.security.server.model.SysLogs;
|
||||
import com.boot.security.server.model.SysUser;
|
||||
import com.boot.security.server.service.SysLogService;
|
||||
import com.boot.security.server.utils.UserUtil;
|
||||
|
||||
@Service
|
||||
public class SysLogServiceImpl implements SysLogService {
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ spring:
|
|||
redis:
|
||||
host: localhost
|
||||
port: 6379
|
||||
password:
|
||||
mail:
|
||||
default-encoding: UTF-8
|
||||
host: smtp.163.com
|
||||
|
|
|
|||
Loading…
Reference in New Issue