feat: 添加代码生成器
This commit is contained in:
@@ -7,7 +7,7 @@ import org.springframework.context.annotation.ComponentScan;
|
||||
/**
|
||||
* 网关启动类
|
||||
*
|
||||
* @author: landaiqing
|
||||
* @author: schisandra
|
||||
* @date: 2024/2/7
|
||||
*/
|
||||
@SpringBootApplication
|
||||
|
@@ -8,7 +8,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
/**
|
||||
* 权限认证的配置器
|
||||
*
|
||||
* @author: landaiqing
|
||||
* @author: schisandra
|
||||
*/
|
||||
@Configuration
|
||||
public class SaTokenConfigure {
|
||||
|
@@ -18,7 +18,7 @@ import java.util.stream.Collectors;
|
||||
/**
|
||||
* 自定义权限验证接口扩展
|
||||
*
|
||||
* @author: landaiqing
|
||||
* @author: schisandra
|
||||
*/
|
||||
@Component
|
||||
public class StpInterfaceImpl implements StpInterface {
|
||||
|
@@ -8,7 +8,7 @@ import java.util.Date;
|
||||
/**
|
||||
* (AuthPermission)实体类
|
||||
*
|
||||
* @author landaiqing
|
||||
* @author schisandra
|
||||
*/
|
||||
@Data
|
||||
public class AuthPermission implements Serializable {
|
||||
|
@@ -8,7 +8,7 @@ import java.util.Date;
|
||||
/**
|
||||
* (AuthRole)实体类
|
||||
*
|
||||
* @author landaiqing
|
||||
* @author schisandra
|
||||
* @since 2024-2-18 18:55:50
|
||||
*/
|
||||
@Data
|
||||
|
@@ -15,9 +15,9 @@ import reactor.core.publisher.Mono;
|
||||
|
||||
/**
|
||||
* @Classname GatewayExceptionHandler
|
||||
* @BelongsProject: qing-yu-club
|
||||
* @BelongsPackage: com.landaiqing.club.gateway.exception
|
||||
* @Author: landaiqing
|
||||
* @BelongsProject: schisandra-cloud-storage
|
||||
* @BelongsPackage: com.schisandra.club.gateway.exception
|
||||
* @Author: schisandra
|
||||
* @CreateTime: 2024-05-18 17:52
|
||||
* @Description: 网关全局异常处理
|
||||
* @Version: 1.0
|
||||
|
@@ -14,9 +14,9 @@ import reactor.core.publisher.Mono;
|
||||
|
||||
/**
|
||||
* @Classname LoginFilter
|
||||
* @BelongsProject: qing-yu-club
|
||||
* @BelongsPackage: com.landaiqing.club.gateway.filter
|
||||
* @Author: landaiqing
|
||||
* @BelongsProject: schisandra-cloud-storage
|
||||
* @BelongsPackage: com.schisandra.club.gateway.filter
|
||||
* @Author: schisandra
|
||||
* @CreateTime: 2024-03-03 17:41
|
||||
* @Description: 登录拦截器
|
||||
* @Version: 1.0
|
||||
|
@@ -15,9 +15,9 @@ import org.springframework.data.redis.serializer.StringRedisSerializer;
|
||||
|
||||
/**
|
||||
* @Classname RedisConfig
|
||||
* @BelongsProject: qing-yu-club
|
||||
* @BelongsPackage: com.landaiqing.club.gateway.redis
|
||||
* @Author: landaiqing
|
||||
* @BelongsProject: schisandra-cloud-storage
|
||||
* @BelongsPackage: com.schisandra.club.gateway.redis
|
||||
* @Author: schisandra
|
||||
* @CreateTime: 2024-02-18 18:10
|
||||
* @Description: redis的config处理
|
||||
* @Version: 1.0
|
||||
|
@@ -13,7 +13,7 @@ import java.util.stream.Stream;
|
||||
/**
|
||||
* RedisUtil工具类
|
||||
*
|
||||
* @author: landaiqing
|
||||
* @author: schisandra
|
||||
* @date: 2024/2/19
|
||||
*/
|
||||
@Component
|
||||
|
Reference in New Issue
Block a user