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.
27 lines
922 B
27 lines
922 B
package com.teaching.backend.service; |
|
|
|
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); |
|
}
|
|
|