Explorar o código

feat: "更新getAssignmentById的请求方式"

Leonezhurui %!s(int64=2) %!d(string=hai) anos
pai
achega
31414459a8

+ 1 - 1
src/main/java/com/njuzr/eaibackend/controller/AssignmentController.java

@@ -77,7 +77,7 @@ public class AssignmentController {
         return MyResponse.success(assignmentService.findAssignmentPage(page, assignmentQueryDTO));
         return MyResponse.success(assignmentService.findAssignmentPage(page, assignmentQueryDTO));
     }
     }
 
 
-    @GetMapping("/{assignmentId}")
+    @GetMapping("/byAssignment/{assignmentId}")
     public MyResponse getAssignmentById(
     public MyResponse getAssignmentById(
             @PathVariable Long assignmentId
             @PathVariable Long assignmentId
     ) {
     ) {