wangwei před 7 roky
rodič
revize
e9022743b6

+ 4 - 0
examcloud-core-examwork-api-provider/src/main/java/cn/com/qmth/examcloud/core/examwork/api/provider/ExamStudentCloudServiceProvider.java

@@ -7,6 +7,7 @@ import javax.transaction.Transactional;
 import org.apache.commons.collections.CollectionUtils;
 import org.apache.commons.lang3.StringUtils;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
@@ -31,6 +32,7 @@ import cn.com.qmth.examcloud.core.examwork.dao.entity.ExamStudent;
 import cn.com.qmth.examcloud.core.examwork.service.impl.ExamStudentService;
 import cn.com.qmth.examcloud.examwork.api.ExamStudentCloudService;
 import cn.com.qmth.examcloud.examwork.api.request.SaveExamStudentReq;
+import io.swagger.annotations.ApiOperation;
 
 /**
  * 
@@ -64,6 +66,8 @@ public class ExamStudentCloudServiceProvider extends ControllerSupport
 	@Autowired
 	CourseCloudService courseCloudService;
 
+	@ApiOperation(value = "保存考生")
+	@PostMapping("saveExamStudent")
 	@Override
 	public void saveExamStudent(SaveExamStudentReq req) {