干燥机配套车间生产管理系统/云平台服务端
bsw215583320
2024-04-16 c2fccb01b972176dc3da5a497b5e904025e9e98d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package org.jeecg.modules.oss.service;
 
import java.io.IOException;
 
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.oss.entity.OssFile;
import org.springframework.web.multipart.MultipartFile;
 
/**
 * @Description: OOS云存储service接口
 * @author: jeecg-boot
 */
public interface IOssFileService extends IService<OssFile> {
 
    /**
     * oss文件上传
     * @param multipartFile
     * @throws IOException
     */
    void upload(MultipartFile multipartFile) throws Exception;
 
    /**
     * oss文件删除
     * @param ossFile OSSFile对象
     * @return
     */
    boolean delete(OssFile ossFile);
 
}