|
|
|
@ -41,8 +41,9 @@ public class CaseController {
|
|
|
|
|
@ApiOperation("新增/编辑案例,老师和管理员新增根据caseInfo中的publish区分都是题目答案,学生端新增传isAnswer为学生答案+userId")
|
|
|
|
|
private ResultEntity<HttpStatus> insertCase(@ApiParam("左侧caseInfo对象") @RequestParam(required = false) String caseInfo, //todo 传json字符串
|
|
|
|
|
@ApiParam("右侧考核点设置的参数对象") @RequestParam String json,
|
|
|
|
|
@ApiParam("老师或管理员操作传master,学生操作传stu") String operator) {
|
|
|
|
|
return caseService.insertCase(caseInfo, json, operator);
|
|
|
|
|
@ApiParam("老师或管理员操作传master,学生操作传stu") String operator,
|
|
|
|
|
@ApiParam("风险测评-风险指标/财务分析-资产负债表等等") @RequestParam(required = false) String type) {
|
|
|
|
|
return caseService.insertCase(caseInfo, json, operator, type);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@PostMapping("/ZHGHType")
|
|
|
|
|