|
|
|
@ -0,0 +1,52 @@
|
|
|
|
|
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/sys/ObjectiveApi")
|
|
|
|
|
public class ObjectiveApi {
|
|
|
|
|
/**
|
|
|
|
|
* 客观题新增
|
|
|
|
|
* 方法名:insertObjective
|
|
|
|
|
* 参数:SysObjectiveQuestions systemOwner schoolId
|
|
|
|
|
* return: boolean
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 客观题批量删除
|
|
|
|
|
* 方法名:batchDeleteObjective
|
|
|
|
|
* 参数:List<String> objIdList schoolId
|
|
|
|
|
* return: boolean
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 客观题列表查看
|
|
|
|
|
* 方法名:selectObjectiveList
|
|
|
|
|
* 参数:schoolId courseId type content index size
|
|
|
|
|
* return:PageInfo<SysObjectiveQuestions>
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 客观题单个详情查看
|
|
|
|
|
* 方法名:selectObjectiveDetails
|
|
|
|
|
* 参数:objectiveId
|
|
|
|
|
* return:SysObjectiveQuestions
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 客观题导入模板下载
|
|
|
|
|
* 方法名:downloadResource
|
|
|
|
|
* 参数:response
|
|
|
|
|
* return:void
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 客观题批量导入
|
|
|
|
|
* 方法名:insertObjectiveByExcel
|
|
|
|
|
* 参数:MultipartFile schoolId
|
|
|
|
|
* return:void
|
|
|
|
|
*/
|
|
|
|
|
}
|