|
@@ -26,6 +26,11 @@ public class PaperCommitController {
|
|
|
return commitService.commit(paperCommit);
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("hasCommit")
|
|
|
+ public Result hasCommit(Long pid,Long uid){
|
|
|
+ return commitService.hasCommit(pid,uid);
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation(value = "获取某学生所有做过的试卷")
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "name", value = "用户姓名,可无", paramType = "query"),
|