|
|
|
@ -0,0 +1,38 @@
|
|
|
|
|
package com.sztzjy.resource_center.controller.api;
|
|
|
|
|
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
|
|
@RestController
|
|
|
|
|
@Api(tags = "课程方面API")
|
|
|
|
|
@RequestMapping("api/tea/ResourceApi")
|
|
|
|
|
public class ResourceDataApi {
|
|
|
|
|
/**
|
|
|
|
|
* 数据集文件上传
|
|
|
|
|
* 方法名:uploadResourceData
|
|
|
|
|
* 参数:MultipartFile schoolId caseId
|
|
|
|
|
* return: boolean
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 数据集列表信息查询
|
|
|
|
|
* 方法名:selectResourceDataList
|
|
|
|
|
* 参数:caseId
|
|
|
|
|
* return: List<SysResource>
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 数据集删除
|
|
|
|
|
* 方法名:deleteResourceData
|
|
|
|
|
* 参数:resourceId schoolId
|
|
|
|
|
* return: boolean
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 数据集下载
|
|
|
|
|
* 方法名:downloadResourceData
|
|
|
|
|
* 参数:resourceId response
|
|
|
|
|
* return: void
|
|
|
|
|
*/
|
|
|
|
|
}
|