Commit cf1387fd authored by terrfly's avatar terrfly
Browse files

变更文件site

parent adba7f7e
...@@ -38,7 +38,7 @@ import java.util.List; ...@@ -38,7 +38,7 @@ import java.util.List;
* 支付接口定义管理类 * 支付接口定义管理类
* *
* @author zhuxiao * @author zhuxiao
* @site https://www.jeepay.vip * @site https://www.jeequan.com
* @date 2021-04-27 15:50 * @date 2021-04-27 15:50
*/ */
@RestController @RestController
......
...@@ -38,7 +38,7 @@ import org.springframework.web.bind.annotation.*; ...@@ -38,7 +38,7 @@ import org.springframework.web.bind.annotation.*;
* 支付方式管理类 * 支付方式管理类
* *
* @author zhuxiao * @author zhuxiao
* @site https://www.jeepay.vip * @site https://www.jeequan.com
* @date 2021-04-27 15:50 * @date 2021-04-27 15:50
*/ */
@RestController @RestController
......
...@@ -38,7 +38,7 @@ import java.util.List; ...@@ -38,7 +38,7 @@ import java.util.List;
* 权限 菜单 管理 * 权限 菜单 管理
* *
* @author terrfly * @author terrfly
* @site https://www.jeepay.vip * @site https://www.jeequan.com
* @date 2021/6/8 17:13 * @date 2021/6/8 17:13
*/ */
@RestController @RestController
......
...@@ -39,7 +39,7 @@ import java.util.List; ...@@ -39,7 +39,7 @@ import java.util.List;
* 系统日志记录类 * 系统日志记录类
* *
* @author pangxiaoyu * @author pangxiaoyu
* @site https://www.jeepay.vip * @site https://www.jeequan.com
* @date 2021-06-07 07:15 * @date 2021-06-07 07:15
*/ */
@RestController @RestController
......
...@@ -48,7 +48,7 @@ import java.util.List; ...@@ -48,7 +48,7 @@ import java.util.List;
* 角色管理 * 角色管理
* *
* @author terrfly * @author terrfly
* @site https://www.jeepay.vip * @site https://www.jeequan.com
* @date 2021/6/8 17:13 * @date 2021/6/8 17:13
*/ */
@RestController @RestController
......
...@@ -33,7 +33,7 @@ import org.springframework.web.bind.annotation.RestController; ...@@ -33,7 +33,7 @@ import org.springframework.web.bind.annotation.RestController;
* 角色 权限管理 * 角色 权限管理
* *
* @author terrfly * @author terrfly
* @site https://www.jeepay.vip * @site https://www.jeequan.com
* @date 2021/6/8 17:13 * @date 2021/6/8 17:13
*/ */
@RestController @RestController
......
...@@ -41,7 +41,7 @@ import java.util.Arrays; ...@@ -41,7 +41,7 @@ import java.util.Arrays;
* 操作员列表 * 操作员列表
* *
* @author terrfly * @author terrfly
* @site https://www.jeepay.vip * @site https://www.jeequan.com
* @date 2021/6/8 17:13 * @date 2021/6/8 17:13
*/ */
@RestController @RestController
......
...@@ -39,7 +39,7 @@ import java.util.List; ...@@ -39,7 +39,7 @@ import java.util.List;
* 用户角色关联关系 * 用户角色关联关系
* *
* @author terrfly * @author terrfly
* @site https://www.jeepay.vip * @site https://www.jeequan.com
* @date 2021/6/8 17:13 * @date 2021/6/8 17:13
*/ */
@RestController @RestController
......
...@@ -25,7 +25,7 @@ import org.springframework.stereotype.Component; ...@@ -25,7 +25,7 @@ import org.springframework.stereotype.Component;
* 接收MQ消息 * 接收MQ消息
* 业务: 更新系统配置参数 * 业务: 更新系统配置参数
* @author terrfly * @author terrfly
* @site https://www.jeepay.vip * @site https://www.jeequan.com
* @date 2021/7/27 9:23 * @date 2021/7/27 9:23
*/ */
@Slf4j @Slf4j
......
...@@ -28,7 +28,7 @@ import java.io.Serializable; ...@@ -28,7 +28,7 @@ import java.io.Serializable;
* 用户身份认证失败处理类 * 用户身份认证失败处理类
* *
* @author terrfly * @author terrfly
* @site https://www.jeepay.vip * @site https://www.jeequan.com
* @date 2021/6/8 17:11 * @date 2021/6/8 17:11
*/ */
@Component @Component
......
...@@ -33,7 +33,7 @@ import org.springframework.stereotype.Service; ...@@ -33,7 +33,7 @@ import org.springframework.stereotype.Service;
* 实现UserDetailsService 接口 * 实现UserDetailsService 接口
* *
* @author terrfly * @author terrfly
* @site https://www.jeepay.vip * @site https://www.jeequan.com
* @date 2021/6/8 17:13 * @date 2021/6/8 17:13
*/ */
@Service @Service
......
...@@ -40,7 +40,7 @@ import org.springframework.web.filter.CorsFilter; ...@@ -40,7 +40,7 @@ import org.springframework.web.filter.CorsFilter;
* Spring Security 配置项 * Spring Security 配置项
* *
* @author terrfly * @author terrfly
* @site https://www.jeepay.vip * @site https://www.jeequan.com
* @date 2021/6/8 17:11 * @date 2021/6/8 17:11
*/ */
@Configuration @Configuration
...@@ -99,25 +99,25 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter{ ...@@ -99,25 +99,25 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter{
.csrf().disable() .csrf().disable()
.cors().and() .cors().and()
// 认证失败处理方式 // 认证失败处理方式
.exceptionHandling().authenticationEntryPoint(unauthorizedHandler).and() .exceptionHandling().authenticationEntryPoint(unauthorizedHandler).and()
// 基于token,所以不需要session // 基于token,所以不需要session
.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS).and() .sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS).and()
.authorizeRequests() .authorizeRequests()
// 除上面外的所有请求全部需要鉴权认证 // 除上面外的所有请求全部需要鉴权认证
.anyRequest().authenticated(); .anyRequest().authenticated();
// 添加JWT filter // 添加JWT filter
httpSecurity.addFilterBefore(new JeeAuthenticationTokenFilter(), UsernamePasswordAuthenticationFilter.class); httpSecurity.addFilterBefore(new JeeAuthenticationTokenFilter(), UsernamePasswordAuthenticationFilter.class);
// 禁用缓存 // 禁用缓存
httpSecurity.headers().cacheControl(); httpSecurity.headers().cacheControl();
} }
@Override @Override
public void configure(WebSecurity web) throws Exception { public void configure(WebSecurity web) throws Exception {
//ignore文件 : 无需进入spring security 框架 //ignore文件 : 无需进入spring security 框架
...@@ -145,5 +145,5 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter{ ...@@ -145,5 +145,5 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter{
"/api/anon/**" //匿名访问接口 "/api/anon/**" //匿名访问接口
); );
} }
} }
...@@ -49,7 +49,7 @@ import java.util.*; ...@@ -49,7 +49,7 @@ import java.util.*;
* 认证Service * 认证Service
* *
* @author terrfly * @author terrfly
* @site https://www.jeepay.vip * @site https://www.jeequan.com
* @date 2021/6/8 17:12 * @date 2021/6/8 17:12
*/ */
@Slf4j @Slf4j
......
...@@ -27,7 +27,7 @@ import org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice; ...@@ -27,7 +27,7 @@ import org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice;
* 功能: 自定义springMVC返回数据格式 * 功能: 自定义springMVC返回数据格式
* *
* @author terrfly * @author terrfly
* @site https://www.jeepay.vip * @site https://www.jeequan.com
* @date 2021/6/8 17:12 * @date 2021/6/8 17:12
*/ */
@ControllerAdvice @ControllerAdvice
......
...@@ -26,7 +26,7 @@ import javax.servlet.http.HttpServletResponse; ...@@ -26,7 +26,7 @@ import javax.servlet.http.HttpServletResponse;
* 数据响应拦截器 * 数据响应拦截器
* *
* @author terrfly * @author terrfly
* @site https://www.jeepay.vip * @site https://www.jeequan.com
* @date 2021/6/8 17:12 * @date 2021/6/8 17:12
*/ */
@Component @Component
......
...@@ -26,9 +26,9 @@ import javax.servlet.http.HttpServletRequest; ...@@ -26,9 +26,9 @@ import javax.servlet.http.HttpServletRequest;
/* /*
* 读取servletContext 上下文工具类 * 读取servletContext 上下文工具类
* *
* @author terrfly * @author terrfly
* @site https://www.jeepay.vip * @site https://www.jeequan.com
* @date 2021/6/8 17:13 * @date 2021/6/8 17:13
*/ */
@Service @Service
......
...@@ -24,7 +24,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; ...@@ -24,7 +24,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
* webmvc配置 * webmvc配置
* *
* @author terrfly * @author terrfly
* @site https://www.jeepay.vip * @site https://www.jeequan.com
* @date 2021/6/8 17:12 * @date 2021/6/8 17:12
*/ */
@Configuration @Configuration
......
...@@ -49,7 +49,7 @@ import java.util.concurrent.ScheduledExecutorService; ...@@ -49,7 +49,7 @@ import java.util.concurrent.ScheduledExecutorService;
* *
* @author terrfly * @author terrfly
* @modify pangxiaoyu * @modify pangxiaoyu
* @site https://www.jeepay.vip * @site https://www.jeequan.com
* @date 2021-04-27 15:50 * @date 2021-04-27 15:50
*/ */
@Component @Component
......
...@@ -32,7 +32,7 @@ import java.util.Date; ...@@ -32,7 +32,7 @@ import java.util.Date;
* CommandLineRunner / ApplicationRunner都可以达到要求, 只是调用参数有所不同。 * CommandLineRunner / ApplicationRunner都可以达到要求, 只是调用参数有所不同。
* *
* @author terrfly * @author terrfly
* @site https://www.jeepay.vip * @site https://www.jeequan.com
* @date 2021-04-27 15:50 * @date 2021-04-27 15:50
*/ */
@Component @Component
......
...@@ -34,7 +34,7 @@ import java.util.Arrays; ...@@ -34,7 +34,7 @@ import java.util.Arrays;
* spring-boot 主启动程序 * spring-boot 主启动程序
* *
* @author terrfly * @author terrfly
* @site https://www.jeepay.vip * @site https://www.jeequan.com
* @date 2021-04-27 15:50 * @date 2021-04-27 15:50
*/ */
@SpringBootApplication @SpringBootApplication
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment