无关风月
2024-12-02 ecc4e57b4f7c6ecfd6823704688ee786b3350b1f
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);
    }
}