You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.0 KiB
32 lines
1.0 KiB
12 months ago
|
package com.teaching.backend.service.resource;
|
||
12 months ago
|
|
||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||
|
import com.teaching.backend.model.entity.CourseResources;
|
||
|
|
||
|
import javax.servlet.http.HttpServletResponse;
|
||
|
import java.io.IOException;
|
||
|
import java.util.List;
|
||
|
|
||
|
/**
|
||
|
* ClassName: FileTableService
|
||
|
* Package: com.teaching.backend.service
|
||
|
* Description:
|
||
|
*
|
||
|
* @Author 姜钧瀚
|
||
|
* @Create 2024/6/4 11:49
|
||
|
* @Version 1.0
|
||
|
*/
|
||
|
public interface CourseResourcesService extends IService<CourseResources> {
|
||
|
void updateFile(Integer type, String fileName, String filePath);
|
||
|
|
||
|
void download(String id, String path, HttpServletResponse response, String endpoint, String accessKeyId, String accessKeySecret, String bucketName) throws IOException;
|
||
|
|
||
|
|
||
|
Page<CourseResources> getresourceRecords(Integer type, List<Integer> resourceIdList, int page, int pageSize);
|
||
12 months ago
|
|
||
|
|
||
|
public List<CourseResources> getByType(String type);
|
||
|
public void removeCourseResources(List<Long> ids);
|
||
12 months ago
|
}
|