1. 替换原始 code 签名

2. 服务与模块生成器,支持指定起始端口批量端口分配
This commit is contained in:
chenbowen
2025-09-02 10:15:16 +08:00
parent 287f4bbd7e
commit e99da38fd4
778 changed files with 876 additions and 801 deletions

View File

@@ -5,7 +5,7 @@ import cn.iocoder.yudao.framework.common.enums.RpcConstants;
/**
* API 相关的枚举
*
* @author 芋道源码
* @author ZT
*/
public class ApiConstants {

View File

@@ -3,7 +3,7 @@ package cn.iocoder.yudao.module.infra.enums;
/**
* Infra 字典类型的枚举类
*
* @author 芋道源码
* @author ZT
*/
public interface DictTypeConstants {

View File

@@ -6,7 +6,7 @@ import lombok.Getter;
/**
* 代码生成的前端类型枚举
*
* @author 芋道源码
* @author ZT
*/
@AllArgsConstructor
@Getter

View File

@@ -8,7 +8,7 @@ import static cn.hutool.core.util.ArrayUtil.firstMatch;
/**
* 代码生成的场景枚举
*
* @author 芋道源码
* @author ZT
*/
@AllArgsConstructor
@Getter

View File

@@ -9,7 +9,7 @@ import java.util.Objects;
/**
* 代码生成模板类型
*
* @author 芋道源码
* @author ZT
*/
@AllArgsConstructor
@Getter

View File

@@ -9,7 +9,7 @@ import lombok.Getter;
* 目前的作用Controller 新增、修改、响应时,使用 VO 还是 DO
* 注意:不包括 Controller 的分页参数!
*
* @author 芋道源码
* @author ZT
*/
@AllArgsConstructor
@Getter

View File

@@ -6,7 +6,7 @@ import lombok.Getter;
/**
* API 异常数据的处理状态
*
* @author 芋道源码
* @author ZT
*/
@AllArgsConstructor
@Getter

View File

@@ -10,7 +10,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
* 如果你碰到启动的问题,请认真阅读 http://172.16.46.63:30888/quick-start/ 文章
* 如果你碰到启动的问题,请认真阅读 http://172.16.46.63:30888/quick-start/ 文章
*
* @author 芋道源码
* @author ZT
*/
@SpringBootApplication
public class InfraServerApplication {

View File

@@ -11,7 +11,7 @@ import jakarta.annotation.Resource;
/**
* WebSocket 配置
*
* @author 芋道源码
* @author ZT
*/
@Configuration
@EnableWebSocket

View File

@@ -13,7 +13,7 @@ import java.util.List;
/**
* 在线文档 Convert
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface DocFileConvert {

View File

@@ -9,7 +9,7 @@ import org.mapstruct.factory.Mappers;
/**
* 文件配置 Convert
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface FileConfigConvert {

View File

@@ -16,7 +16,7 @@ import lombok.experimental.Accessors;
/**
* 代码生成 column 字段定义
*
* @author 芋道源码
* @author ZT
*/
@TableName(value = "infra_codegen_column", autoResultMap = true)
@KeySequence("infra_codegen_column_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -18,7 +18,7 @@ import lombok.experimental.Accessors;
/**
* 代码生成 table 表定义
*
* @author 芋道源码
* @author ZT
*/
@TableName(value = "infra_codegen_table", autoResultMap = true)
@KeySequence("infra_codegen_table_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -14,7 +14,7 @@ import lombok.ToString;
/**
* 参数配置表
*
* @author 芋道源码
* @author ZT
*/
@TableName("infra_config")
@KeySequence("infra_config_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -9,7 +9,7 @@ import lombok.Data;
/**
* 数据源配置
*
* @author 芋道源码
* @author ZT
*/
@TableName(value = "infra_data_source_config", autoResultMap = true)
@KeySequence("infra_data_source_config_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
/**
* 示例联系人 DO
*
* @author 芋道源码
* @author ZT
*/
@TableName("yudao_demo01_contact")
@KeySequence("yudao_demo01_contact_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -10,7 +10,7 @@ import lombok.*;
/**
* 示例分类 DO
*
* @author 芋道源码
* @author ZT
*/
@TableName("yudao_demo02_category")
@KeySequence("yudao_demo02_category_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -10,7 +10,7 @@ import lombok.*;
/**
* 学生课程 DO
*
* @author 芋道源码
* @author ZT
*/
@TableName("yudao_demo03_course")
@KeySequence("yudao_demo03_course_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -10,7 +10,7 @@ import lombok.*;
/**
* 学生班级 DO
*
* @author 芋道源码
* @author ZT
*/
@TableName("yudao_demo03_grade")
@KeySequence("yudao_demo03_grade_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
/**
* 学生 DO
*
* @author 芋道源码
* @author ZT
*/
@TableName("yudao_demo03_student")
@KeySequence("yudao_demo03_student_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -11,7 +11,7 @@ import java.time.LocalDateTime;
/**
* 文档编辑历史 DO
*
* @author 芋道源码
* @author ZT
*/
@TableName("infra_doc_edit_history")
@KeySequence("infra_doc_edit_history_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -10,7 +10,7 @@ import lombok.*;
/**
* 在线文档 DO
*
* @author 芋道源码
* @author ZT
*/
@TableName("infra_doc_file")
@KeySequence("infra_doc_file_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
/**
* 文档权限 DO
*
* @author 芋道源码
* @author ZT
*/
@TableName("infra_doc_file_permission")
@KeySequence("infra_doc_file_permission_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -10,7 +10,7 @@ import lombok.*;
/**
* 文档版本 DO
*
* @author 芋道源码
* @author ZT
*/
@TableName("infra_doc_file_version")
@KeySequence("infra_doc_file_version_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -21,7 +21,7 @@ import java.lang.reflect.Field;
/**
* 文件配置表
*
* @author 芋道源码
* @author ZT
*/
@TableName(value = "infra_file_config", autoResultMap = true)
@KeySequence("infra_file_config_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -14,7 +14,7 @@ import lombok.*;
*
* 专门用于存储 {@link DBFileClient} 的文件内容
*
* @author 芋道源码
* @author ZT
*/
@TableName("infra_file_content")
@KeySequence("infra_file_content_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -10,7 +10,7 @@ import org.apache.commons.lang3.StringUtils;
* 文件表
* 每次文件上传,都会记录一条记录到该表中
*
* @author 芋道源码
* @author ZT
*/
@TableName("infra_file")
@KeySequence("infra_file_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -15,7 +15,7 @@ import java.time.LocalDateTime;
/**
* API 访问日志
*
* @author 芋道源码
* @author ZT
*/
@TableName("infra_api_access_log")
@KeySequence(value = "infra_api_access_log_seq")

View File

@@ -14,7 +14,7 @@ import java.time.LocalDateTime;
/**
* API 异常数据
*
* @author 芋道源码
* @author ZT
*/
@TableName("infra_api_error_log")
@Data

View File

@@ -7,7 +7,7 @@ import org.apache.ibatis.annotations.Mapper;
/**
* 数据源配置 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface DataSourceConfigMapper extends BaseMapperX<DataSourceConfigDO> {

View File

@@ -10,7 +10,7 @@ import org.apache.ibatis.annotations.Mapper;
/**
* 示例联系人 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface Demo01ContactMapper extends BaseMapperX<Demo01ContactDO> {

View File

@@ -11,7 +11,7 @@ import java.util.List;
/**
* 示例分类 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface Demo02CategoryMapper extends BaseMapperX<Demo02CategoryDO> {

View File

@@ -12,7 +12,7 @@ import java.util.List;
/**
* 学生课程 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface Demo03CourseErpMapper extends BaseMapperX<Demo03CourseDO> {

View File

@@ -12,7 +12,7 @@ import java.util.List;
/**
* 学生班级 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface Demo03GradeErpMapper extends BaseMapperX<Demo03GradeDO> {

View File

@@ -10,7 +10,7 @@ import org.apache.ibatis.annotations.Mapper;
/**
* 学生 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface Demo03StudentErpMapper extends BaseMapperX<Demo03StudentDO> {

View File

@@ -9,7 +9,7 @@ import java.util.List;
/**
* 学生课程 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface Demo03CourseInnerMapper extends BaseMapperX<Demo03CourseDO> {

View File

@@ -9,7 +9,7 @@ import java.util.List;
/**
* 学生班级 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface Demo03GradeInnerMapper extends BaseMapperX<Demo03GradeDO> {

View File

@@ -10,7 +10,7 @@ import org.apache.ibatis.annotations.Mapper;
/**
* 学生 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface Demo03StudentInnerMapper extends BaseMapperX<Demo03StudentDO> {

View File

@@ -9,7 +9,7 @@ import java.util.List;
/**
* 学生课程 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface Demo03CourseNormalMapper extends BaseMapperX<Demo03CourseDO> {

View File

@@ -9,7 +9,7 @@ import java.util.List;
/**
* 学生班级 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface Demo03GradeNormalMapper extends BaseMapperX<Demo03GradeDO> {

View File

@@ -10,7 +10,7 @@ import org.apache.ibatis.annotations.Mapper;
/**
* 学生 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface Demo03StudentNormalMapper extends BaseMapperX<Demo03StudentDO> {

View File

@@ -10,7 +10,7 @@ import java.util.List;
/**
* 文档编辑历史 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface DocEditHistoryMapper extends BaseMapperX<DocEditHistoryDO> {

View File

@@ -10,7 +10,7 @@ import org.apache.ibatis.annotations.Mapper;
/**
* 在线文档 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface DocFileMapper extends BaseMapperX<DocFileDO> {

View File

@@ -10,7 +10,7 @@ import java.util.List;
/**
* 文档权限 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface DocFilePermissionMapper extends BaseMapperX<DocFilePermissionDO> {

View File

@@ -10,7 +10,7 @@ import java.util.List;
/**
* 文档版本 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface DocFileVersionMapper extends BaseMapperX<DocFileVersionDO> {

View File

@@ -10,7 +10,7 @@ import org.apache.ibatis.annotations.Mapper;
/**
* 文件操作 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface FileMapper extends BaseMapperX<FileDO> {

View File

@@ -14,7 +14,7 @@ import java.time.LocalDateTime;
/**
* API 访问日志 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface ApiAccessLogMapper extends BaseMapperX<ApiAccessLogDO> {

View File

@@ -14,7 +14,7 @@ import java.time.LocalDateTime;
/**
* API 错误日志 Mapper
*
* @author 芋道源码
* @author ZT
*/
@Mapper
public interface ApiErrorLogMapper extends BaseMapperX<ApiErrorLogDO> {

View File

@@ -6,7 +6,7 @@ import lombok.Getter;
/**
* 文档编辑类型枚举
*
* @author 芋道源码
* @author ZT
*/
@AllArgsConstructor
@Getter

View File

@@ -6,7 +6,7 @@ import lombok.Getter;
/**
* 文档文件类型枚举
*
* @author 芋道源码
* @author ZT
*/
@AllArgsConstructor
@Getter

View File

@@ -6,7 +6,7 @@ import lombok.Getter;
/**
* 文档权限类型枚举
*
* @author 芋道源码
* @author ZT
*/
@AllArgsConstructor
@Getter

View File

@@ -6,7 +6,7 @@ import lombok.Getter;
/**
* 文档空间类型枚举
*
* @author 芋道源码
* @author ZT
*/
@AllArgsConstructor
@Getter

View File

@@ -8,7 +8,7 @@ import org.springframework.context.annotation.Configuration;
/**
* 文件配置类
*
* @author 芋道源码
* @author ZT
*/
@Configuration(proxyBeanMethods = false)
public class YudaoFileAutoConfiguration {

View File

@@ -6,7 +6,7 @@ import lombok.extern.slf4j.Slf4j;
/**
* 文件客户端的抽象类,提供模板方法,减少子类的冗余代码
*
* @author 芋道源码
* @author ZT
*/
@Slf4j
public abstract class AbstractFileClient<Config extends FileClientConfig> implements FileClient {

View File

@@ -7,7 +7,7 @@ import java.time.Duration;
/**
* 文件客户端
*
* @author 芋道源码
* @author ZT
*/
public interface FileClient {

View File

@@ -6,7 +6,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo;
* 文件客户端的配置
* 不同实现的客户端,需要不同的配置,通过子类来定义
*
* @author 芋道源码
* @author ZT
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS)
// @JsonTypeInfo 注解的作用Jackson 多态

View File

@@ -11,7 +11,7 @@ import java.util.concurrent.ConcurrentMap;
/**
* 文件客户端的工厂实现类
*
* @author 芋道源码
* @author ZT
*/
@Slf4j
public class FileClientFactoryImpl implements FileClientFactory {

View File

@@ -12,7 +12,7 @@ import java.util.List;
/**
* 基于 DB 存储的文件客户端的配置类
*
* @author 芋道源码
* @author ZT
*/
public class DBFileClient extends AbstractFileClient<DBFileClientConfig> {

View File

@@ -8,7 +8,7 @@ import org.hibernate.validator.constraints.URL;
/**
* 基于 DB 存储的文件客户端的配置类
*
* @author 芋道源码
* @author ZT
*/
@Data
public class DBFileClientConfig implements FileClientConfig {

View File

@@ -14,7 +14,7 @@ import java.io.ByteArrayOutputStream;
/**
* Ftp 文件客户端
*
* @author 芋道源码
* @author ZT
*/
public class FtpFileClient extends AbstractFileClient<FtpFileClientConfig> {

View File

@@ -9,7 +9,7 @@ import org.hibernate.validator.constraints.URL;
/**
* Ftp 文件客户端的配置类
*
* @author 芋道源码
* @author ZT
*/
@Data
public class FtpFileClientConfig implements FileClientConfig {

View File

@@ -8,7 +8,7 @@ import java.io.File;
/**
* 本地文件客户端
*
* @author 芋道源码
* @author ZT
*/
public class LocalFileClient extends AbstractFileClient<LocalFileClientConfig> {

View File

@@ -8,7 +8,7 @@ import org.hibernate.validator.constraints.URL;
/**
* 本地文件客户端的配置类
*
* @author 芋道源码
* @author ZT
*/
@Data
public class LocalFileClientConfig implements FileClientConfig {

View File

@@ -25,7 +25,7 @@ import java.time.Duration;
/**
* 基于 S3 协议的文件客户端,实现 MinIO、阿里云、腾讯云、七牛云、华为云等云服务
*
* @author 芋道源码
* @author ZT
*/
public class S3FileClient extends AbstractFileClient<S3FileClientConfig> {
/**

View File

@@ -11,7 +11,7 @@ import org.hibernate.validator.constraints.URL;
/**
* S3 文件客户端的配置类
*
* @author 芋道源码
* @author ZT
*/
@Data
public class S3FileClientConfig implements FileClientConfig {

View File

@@ -10,7 +10,7 @@ import java.io.File;
/**
* Sftp 文件客户端
*
* @author 芋道源码
* @author ZT
*/
public class SftpFileClient extends AbstractFileClient<SftpFileClientConfig> {

View File

@@ -9,7 +9,7 @@ import org.hibernate.validator.constraints.URL;
/**
* Sftp 文件客户端的配置类
*
* @author 芋道源码
* @author ZT
*/
@Data
public class SftpFileClientConfig implements FileClientConfig {

View File

@@ -19,7 +19,7 @@ import lombok.Getter;
/**
* 文件存储器枚举
*
* @author 芋道源码
* @author ZT
*/
@AllArgsConstructor
@Getter

View File

@@ -16,7 +16,7 @@ import java.io.IOException;
/**
* 文件类型 Utils
*
* @author 芋道源码
* @author ZT
*/
@Slf4j
public class FileTypeUtils {

View File

@@ -7,6 +7,6 @@
* 4. db数据库
* 5. s3支持 S3 协议的云存储服务,例如说 MinIO、阿里云、华为云、腾讯云、七牛云等等
*
* @author 芋道源码
* @author ZT
*/
package cn.iocoder.yudao.module.infra.framework.file;

View File

@@ -1,6 +1,6 @@
/**
* 属于 infra 模块的 framework 封装
*
* @author 芋道源码
* @author ZT
*/
package cn.iocoder.yudao.module.infra.framework;

View File

@@ -14,7 +14,7 @@ import java.util.Map;
/**
* 代码生成 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface CodegenService {

View File

@@ -38,7 +38,7 @@ import static cn.iocoder.yudao.module.infra.enums.ErrorCodeConstants.*;
/**
* 代码生成 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
public class CodegenServiceImpl implements CodegenService {

View File

@@ -56,7 +56,7 @@ import static cn.hutool.core.text.CharSequenceUtil.*;
* 目前基于 {@link org.apache.velocity.app.Velocity} 模板引擎实现
* 考虑到 Java 模板引擎的框架非常多Freemarker、Velocity、Thymeleaf 等等,所以我们采用 hutool 封装的 {@link cn.hutool.extra.template.Template} 抽象
*
* @author 芋道源码
* @author ZT
*/
@Component
public class CodegenEngine {

View File

@@ -10,7 +10,7 @@ import jakarta.validation.Valid;
/**
* 参数配置 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface ConfigService {

View File

@@ -9,7 +9,7 @@ import java.util.List;
/**
* 数据源配置 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface DataSourceConfigService {

View File

@@ -21,7 +21,7 @@ import static cn.iocoder.yudao.module.infra.enums.ErrorCodeConstants.DATA_SOURCE
/**
* 数据源配置 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
@Validated

View File

@@ -7,7 +7,7 @@ import java.util.List;
/**
* 数据库表 Service
*
* @author 芋道源码
* @author ZT
*/
public interface DatabaseTableService {

View File

@@ -30,7 +30,7 @@ import static cn.iocoder.yudao.module.infra.enums.ErrorCodeConstants.STD_ABBR_NO
/**
* 数据库表 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
public class DatabaseTableServiceImpl implements DatabaseTableService {

View File

@@ -11,7 +11,7 @@ import java.util.List;
/**
* 示例联系人 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface Demo01ContactService {

View File

@@ -19,7 +19,7 @@ import static cn.iocoder.yudao.module.infra.enums.ErrorCodeConstants.DEMO01_CONT
/**
* 示例联系人 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
@Validated

View File

@@ -10,7 +10,7 @@ import java.util.List;
/**
* 示例分类 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface Demo02CategoryService {

View File

@@ -18,7 +18,7 @@ import static cn.iocoder.yudao.module.infra.enums.ErrorCodeConstants.*;
/**
* 示例分类 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
@Validated

View File

@@ -14,7 +14,7 @@ import java.util.List;
/**
* 学生 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface Demo03StudentErpService {

View File

@@ -25,7 +25,7 @@ import static cn.iocoder.yudao.module.infra.enums.ErrorCodeConstants.*;
/**
* 学生 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
@Validated

View File

@@ -13,7 +13,7 @@ import java.util.List;
/**
* 学生 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface Demo03StudentInnerService {

View File

@@ -27,7 +27,7 @@ import static cn.iocoder.yudao.module.infra.enums.ErrorCodeConstants.DEMO03_STUD
/**
* 学生 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
@Validated

View File

@@ -13,7 +13,7 @@ import java.util.List;
/**
* 学生 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface Demo03StudentNormalService {

View File

@@ -27,7 +27,7 @@ import static cn.iocoder.yudao.module.infra.enums.ErrorCodeConstants.DEMO03_STUD
/**
* 学生 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
@Validated

View File

@@ -13,7 +13,7 @@ import java.util.List;
/**
* 在线文档 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface DocFileService {

View File

@@ -11,7 +11,7 @@ import jakarta.validation.Valid;
/**
* 文件配置 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface FileConfigService {

View File

@@ -36,7 +36,7 @@ import static cn.iocoder.yudao.module.infra.enums.ErrorCodeConstants.FILE_CONFIG
/**
* 文件配置 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
@Validated

View File

@@ -12,7 +12,7 @@ import lombok.SneakyThrows;
/**
* 文件 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface FileService {

View File

@@ -39,7 +39,7 @@ import static cn.iocoder.yudao.module.infra.enums.ErrorCodeConstants.*;
/**
* 文件 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
public class FileServiceImpl implements FileService {

View File

@@ -8,7 +8,7 @@ import cn.iocoder.yudao.module.infra.dal.dataobject.logger.ApiAccessLogDO;
/**
* API 访问日志 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface ApiAccessLogService {

View File

@@ -22,7 +22,7 @@ import static cn.iocoder.yudao.module.infra.dal.dataobject.logger.ApiAccessLogDO
/**
* API 访问日志 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Slf4j
@Service

View File

@@ -8,7 +8,7 @@ import cn.iocoder.yudao.module.infra.dal.dataobject.logger.ApiErrorLogDO;
/**
* API 错误日志 Service 接口
*
* @author 芋道源码
* @author ZT
*/
public interface ApiErrorLogService {

View File

@@ -25,7 +25,7 @@ import static cn.iocoder.yudao.module.infra.enums.ErrorCodeConstants.API_ERROR_L
/**
* API 错误日志 Service 实现类
*
* @author 芋道源码
* @author ZT
*/
@Service
@Validated

View File

@@ -14,7 +14,7 @@ import jakarta.annotation.Resource;
/**
* WebSocket 示例:单发消息
*
* @author 芋道源码
* @author ZT
*/
@Component
public class DemoWebSocketMessageListener implements WebSocketMessageListener<DemoSendMessage> {

View File

@@ -13,7 +13,7 @@ import java.util.concurrent.ConcurrentHashMap;
/**
* 文档协作WebSocket处理器
*
* @author 芋道源码
* @author ZT
*/
@Component
@Slf4j

Some files were not shown because too many files have changed in this diff Show More