|
@@ -2,6 +2,7 @@ package cn.com.qmth.examcloud.core.basic.api.controller;
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
+import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
@@ -86,7 +87,7 @@ public class CourseSpeciatlyRelationController extends ControllerSupport {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "删除关联课程专业")
|
|
|
- @PostMapping("delete")
|
|
|
+ @DeleteMapping("delete")
|
|
|
public CourseSpeciatlyRelationEntity delete(@RequestParam(required = true) Long courseId,
|
|
|
@RequestParam(required = true) Long specialtyId) {
|
|
|
|