update 优化 删除不建议继续使用的接口

This commit is contained in:
疯狂的狮子Li
2026-06-08 09:28:58 +08:00
parent 596f1112d4
commit d6ad3a5063
3 changed files with 0 additions and 57 deletions
@@ -12,14 +12,6 @@ import java.util.List;
*/
public interface RemoteFileService {
/**
* 上传文件
*
* @param file 文件信息
* @return 结果
*/
RemoteFile upload(String name, String originalFilename, String contentType, byte[] file) throws ServiceException;
/**
* 通过ossId查询对应的url
*
@@ -14,18 +14,6 @@ import java.util.List;
@Slf4j
public class RemoteFileServiceMock implements RemoteFileService {
/**
* 上传文件
*
* @param file 文件信息
* @return 结果
*/
@Override
public RemoteFile upload(String name, String originalFilename, String contentType, byte[] file) {
log.warn("服务调用异常 -> 降级处理");
return null;
}
/**
* 通过ossId查询对应的url
*