@@ -36,7 +36,7 @@ public class InspectQuestionController extends ApiBaseController { | |||
* @param inspectQuestionDto 参数 | |||
* @return | |||
*/ | |||
@GetMapping("/getQuestionList") | |||
@PostMapping("/getQuestionList") | |||
public Response getQuestionList(@RequestBody InspectQuestionQuery inspectQuestionDto) { | |||
return response.success(inspectQuestionService.getQuestionList(inspectQuestionDto)); | |||
} |
@@ -28,7 +28,7 @@ public class NoticeController extends ApiBaseController { | |||
* @param query 查询条件 | |||
* @return | |||
*/ | |||
@GetMapping("/getNoticeList") | |||
@PostMapping("/getNoticeList") | |||
public Response getNoticeList(@RequestBody NoticeQuery query) { | |||
return noticeService.getNoticeList(query); | |||
} |