feat(resource): 1
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
zcxlsm 2025-08-04 21:36:42 +08:00
parent 26b609ea81
commit 0cb299d383

View File

@ -2,6 +2,7 @@ package org.dromara.resource.api;
import jakarta.servlet.http.HttpServletResponse;
import lombok.extern.slf4j.Slf4j;
import org.dromara.common.core.exception.ServiceException;
import org.dromara.common.core.utils.StringUtils;
import org.dromara.resource.api.domain.RemoteFile;
@ -28,6 +29,18 @@ public class RemoteFileServiceMock implements RemoteFileService {
return null;
}
/**
* 文件上传
*
* @param file 文件信息
* @return 结果
*/
@Override
public RemoteFile uploadImg(byte[] file) {
log.warn("服务调用异常 -> 降级处理");
return null;
}
/**
* 通过ossId查询对应的url
*