完善minio上传

This commit is contained in:
none
2023-03-08 15:56:44 +08:00
parent 1486e518cc
commit e8455a3a58
16 changed files with 321 additions and 67 deletions

View File

@@ -0,0 +1,15 @@
package xyz.playedu.api.service;
import org.springframework.web.multipart.MultipartFile;
import xyz.playedu.api.domain.Resource;
import xyz.playedu.api.exception.ServiceException;
/**
* @Author 杭州白书科技有限公司
* @create 2023/3/8 14:02
*/
public interface UploadService {
Resource storeMinio(MultipartFile file, Integer categoryId) throws ServiceException;
Resource storeBase64Image(String content,Integer categoryId) throws ServiceException;
}