2
0

style: 替换项目内所有ruoyi转为wfc

This commit is contained in:
TsMask
2024-11-26 17:34:02 +08:00
parent 77a28b06a3
commit fab448f836
300 changed files with 1211 additions and 1428 deletions

View File

@@ -22,13 +22,13 @@
<artifactId>spring-webmvc</artifactId>
</dependency>
<!-- RuoYi Api System -->
<!-- WFC Api System -->
<dependency>
<groupId>org.wfc</groupId>
<artifactId>wfc-api-system</artifactId>
</dependency>
<!-- RuoYi Common Redis-->
<!-- WFC Common Redis-->
<dependency>
<groupId>org.wfc</groupId>
<artifactId>wfc-common-redis</artifactId>

View File

@@ -7,7 +7,7 @@ import java.lang.annotation.*;
* 自定义feign注解
* 添加basePackages路径
*
* @author ruoyi
* @author wfc
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)

View File

@@ -5,7 +5,7 @@ import java.lang.annotation.*;
/**
* 内部认证注解
*
* @author ruoyi
* @author wfc
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)

View File

@@ -3,7 +3,7 @@ package org.wfc.common.security.annotation;
/**
* 权限注解的验证模式
*
* @author ruoyi
* @author wfc
*
*/
public enum Logical

View File

@@ -8,7 +8,7 @@ import java.lang.annotation.Target;
/**
* 登录认证:只有登录之后才能进入该方法
*
* @author ruoyi
* @author wfc
*
*/
@Retention(RetentionPolicy.RUNTIME)

View File

@@ -8,7 +8,7 @@ import java.lang.annotation.Target;
/**
* 权限认证:必须具有指定权限才能进入该方法
*
* @author ruoyi
* @author wfc
*
*/
@Retention(RetentionPolicy.RUNTIME)

View File

@@ -8,7 +8,7 @@ import java.lang.annotation.Target;
/**
* 角色认证:必须具有指定角色标识才能进入该方法
*
* @author ruoyi
* @author wfc
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD, ElementType.TYPE })

View File

@@ -14,7 +14,7 @@ import org.wfc.common.security.annotation.InnerAuth;
/**
* 内部服务调用验证处理
*
* @author ruoyi
* @author wfc
*/
@Aspect
@Component

View File

@@ -21,7 +21,7 @@ import org.wfc.system.api.model.LoginUser;
/**
* Token 权限验证,逻辑实现类
*
* @author ruoyi
* @author wfc
*/
public class AuthLogic
{

View File

@@ -7,7 +7,7 @@ import org.wfc.system.api.model.LoginUser;
/**
* Token 权限验证工具类
*
* @author ruoyi
* @author wfc
*/
public class AuthUtil
{

View File

@@ -7,7 +7,7 @@ import org.springframework.context.annotation.Bean;
/**
* 系统配置
*
* @author ruoyi
* @author wfc
*/
public class ApplicationConfig
{

View File

@@ -7,7 +7,7 @@ import org.wfc.common.security.interceptor.HeaderInterceptor;
/**
* 拦截器配置
*
* @author ruoyi
* @author wfc
*/
public class WebMvcConfig implements WebMvcConfigurer
{

View File

@@ -7,7 +7,7 @@ import feign.RequestInterceptor;
/**
* Feign 配置注册
*
* @author ruoyi
* @author wfc
**/
@Configuration
public class FeignAutoConfiguration

View File

@@ -13,7 +13,7 @@ import feign.RequestTemplate;
/**
* feign 请求拦截器
*
* @author ruoyi
* @author wfc
*/
@Component
public class FeignRequestInterceptor implements RequestInterceptor

View File

@@ -24,7 +24,7 @@ import org.wfc.common.core.web.domain.AjaxResult;
/**
* 全局异常处理器
*
* @author ruoyi
* @author wfc
*/
@RestControllerAdvice
public class GlobalExceptionHandler

View File

@@ -16,7 +16,7 @@ import org.wfc.system.api.model.LoginUser;
* 自定义请求头拦截器将Header数据封装到线程变量中方便获取
* 注意:此拦截器会同时验证当前用户有效期自动刷新有效期
*
* @author ruoyi
* @author wfc
*/
public class HeaderInterceptor implements AsyncHandlerInterceptor
{

View File

@@ -22,7 +22,7 @@ import org.wfc.system.api.model.LoginUser;
/**
* token验证处理
*
* @author ruoyi
* @author wfc
*/
@Component
public class TokenService

View File

@@ -12,7 +12,7 @@ import org.wfc.system.api.domain.SysDictData;
/**
* 字典工具类
*
* @author ruoyi
* @author wfc
*/
public class DictUtils
{

View File

@@ -12,7 +12,7 @@ import org.wfc.system.api.model.LoginUser;
/**
* 权限获取工具类
*
* @author ruoyi
* @author wfc
*/
public class SecurityUtils
{