feat: 添加代码生成器

This commit is contained in:
landaiqing
2024-05-11 21:52:18 +08:00
parent fce3423ad7
commit 69a589fe5c
108 changed files with 2606 additions and 69 deletions

View File

@@ -7,7 +7,7 @@ import org.springframework.context.annotation.ComponentScan;
/**
* 网关启动类
*
* @author: landaiqing
* @author: schisandra
* @date: 2024/2/7
*/
@SpringBootApplication

View File

@@ -8,7 +8,7 @@ import org.springframework.context.annotation.Configuration;
/**
* 权限认证的配置器
*
* @author: landaiqing
* @author: schisandra
*/
@Configuration
public class SaTokenConfigure {

View File

@@ -18,7 +18,7 @@ import java.util.stream.Collectors;
/**
* 自定义权限验证接口扩展
*
* @author: landaiqing
* @author: schisandra
*/
@Component
public class StpInterfaceImpl implements StpInterface {

View File

@@ -8,7 +8,7 @@ import java.util.Date;
/**
* (AuthPermission)实体类
*
* @author landaiqing
* @author schisandra
*/
@Data
public class AuthPermission implements Serializable {

View File

@@ -8,7 +8,7 @@ import java.util.Date;
/**
* (AuthRole)实体类
*
* @author landaiqing
* @author schisandra
* @since 2024-2-18 18:55:50
*/
@Data

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -13,7 +13,7 @@ import java.util.stream.Stream;
/**
* RedisUtil工具类
*
* @author: landaiqing
* @author: schisandra
* @date: 2024/2/19
*/
@Component