package cn.besteam.modules.system.service;
|
|
import cn.besteam.common.exception.BusinessException;
|
import org.springframework.web.multipart.MultipartFile;
|
|
/**
|
* @author chenqilong
|
* @since 2019-04-13
|
*/
|
public interface IOssService {
|
|
String upload(MultipartFile file) throws BusinessException;
|
|
String upload(String storagePath, MultipartFile file) throws BusinessException;
|
|
String uploadImage(byte[] imageBytes) throws BusinessException;
|
|
String uploadImage(String storagePath, byte[] imageBytes) throws BusinessException;
|
|
}
|