tangchuanxing_branch
CR7 9 months ago
parent 04c811fb77
commit 07249e3809

@ -0,0 +1,46 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
// 定义了一个名为com.yami.shop.service的包用于组织代码
package com.yami.shop.service;
// 导入了MyBatis Plus框架中的IService接口用于提供基础的CRUD操作
import com.baomidou.mybatisplus.extension.service.IService;
// 导入了AttachFile实体类这个类代表了数据库中的一个表
import com.yami.shop.bean.model.AttachFile;
// 导入了Spring框架中的MultipartFile类用于处理上传的文件
import org.springframework.web.multipart.MultipartFile;
import java.io.IOException;
/**
* AttachFile
*
* @author lanhai lanhai
* Created by lgh on 2018/07/27 lgh2018727
*/
public interface AttachFileService extends IService<AttachFile> {
/**
*
*
* @param file MultipartFile
* @throws IOException I/OIOException
* @return ID
*/
String uploadFile(MultipartFile file) throws IOException;
/**
*
*
* @param fileName
*/
void deleteFile(String fileName);
}
Loading…
Cancel
Save