style: 替换项目内所有ruoyi转为wfc
This commit is contained in:
@@ -7,7 +7,7 @@ import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
||||
/**
|
||||
* 文件服务
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
|
||||
public class WfcFileApplication
|
||||
|
||||
@@ -8,7 +8,7 @@ import io.minio.MinioClient;
|
||||
/**
|
||||
* Minio 配置信息
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
@Configuration
|
||||
@ConfigurationProperties(prefix = "minio")
|
||||
|
||||
@@ -10,7 +10,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
||||
/**
|
||||
* 通用映射配置
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
@Configuration
|
||||
public class ResourcesConfig implements WebMvcConfigurer
|
||||
|
||||
@@ -14,7 +14,7 @@ import org.wfc.system.api.domain.SysFile;
|
||||
/**
|
||||
* 文件请求处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
@RestController
|
||||
public class SysFileController
|
||||
|
||||
@@ -13,7 +13,7 @@ import org.wfc.common.core.utils.file.FileTypeUtils;
|
||||
/**
|
||||
* FastDFS 文件存储
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
@Service
|
||||
public class FastDfsSysFileServiceImpl implements ISysFileService
|
||||
|
||||
@@ -5,7 +5,7 @@ import org.springframework.web.multipart.MultipartFile;
|
||||
/**
|
||||
* 文件上传接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
public interface ISysFileService
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.wfc.file.utils.FileUploadUtils;
|
||||
/**
|
||||
* 本地文件存储
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
@Primary
|
||||
@Service
|
||||
|
||||
@@ -13,7 +13,7 @@ import io.minio.PutObjectArgs;
|
||||
/**
|
||||
* Minio 文件存储
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
@Service
|
||||
public class MinioSysFileServiceImpl implements ISysFileService
|
||||
|
||||
@@ -19,7 +19,7 @@ import org.wfc.common.core.utils.uuid.Seq;
|
||||
/**
|
||||
* 文件上传工具类
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
public class FileUploadUtils
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user