代码格式化

This commit is contained in:
none
2023-04-07 10:03:45 +08:00
parent fc8ff14a24
commit f437b3ad4d
252 changed files with 7467 additions and 5770 deletions

View File

@@ -1,6 +1,11 @@
/**
* This file is part of the PlayEdu.
* (c) 杭州白书科技有限公司
*/
package xyz.playedu.api.service;
import org.springframework.web.multipart.MultipartFile;
import xyz.playedu.api.domain.Resource;
import xyz.playedu.api.domain.UserUploadImageLog;
import xyz.playedu.api.exception.ServiceException;
@@ -8,15 +13,18 @@ import xyz.playedu.api.types.UploadFileInfo;
/**
* @Author 杭州白书科技有限公司
*
* @create 2023/3/8 14:02
*/
public interface UploadService {
UploadFileInfo upload(MultipartFile file, String dir) throws ServiceException;
Resource storeMinio(Integer adminId, MultipartFile file, String categoryIds) throws ServiceException;
Resource storeMinio(Integer adminId, MultipartFile file, String categoryIds)
throws ServiceException;
Resource storeBase64Image(Integer adminId, String content, String categoryIds) throws ServiceException;
Resource storeBase64Image(Integer adminId, String content, String categoryIds)
throws ServiceException;
UserUploadImageLog userAvatar(Integer userId, MultipartFile file, String typed, String scene);
}