无关风月
2024-09-24 763c2b92c534b9830f39d304cb423817740c55f2
cloud-server-course/src/main/java/com/dsh/course/controller/CoursePackageStudentController.java
@@ -10,6 +10,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.Date;
import java.util.List;
import java.util.Map;
@@ -122,6 +123,7 @@
    @ResponseBody
    @PostMapping("/coursePackageStudent/addCoursePackageStudent")
    public void addCoursePackageStudent(@RequestBody CoursePackageStudent coursePackageStudent) {
        coursePackageStudent.setInsertTime(new Date());
        coursePackageStudentService.save(coursePackageStudent);
    }
}