|
@@ -35,7 +35,7 @@ public class MusicGroupRegisterController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "新增学生报名信息")
|
|
|
@PostMapping("/add")
|
|
|
- public HttpResponseResult add(@RequestBody StudentRegistration studentRegistration) throws IOException {
|
|
|
+ public HttpResponseResult add(@RequestBody StudentRegistration studentRegistration) throws Exception {
|
|
|
Date date = new Date();
|
|
|
MusicGroup musicGroup = musicGroupService.get(studentRegistration.getMusicGroupId());
|
|
|
if (musicGroup == null) {
|