瀏覽代碼

更新请求方式

master
鲲鹏 4 年之前
父節點
當前提交
f018aca42a
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      src/main/java/com/taauav/app/controller/InspectQuestionController.java
  2. +1
    -1
      src/main/java/com/taauav/app/controller/NoticeController.java

+ 1
- 1
src/main/java/com/taauav/app/controller/InspectQuestionController.java 查看文件

@@ -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));
}

+ 1
- 1
src/main/java/com/taauav/app/controller/NoticeController.java 查看文件

@@ -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);
}

Loading…
取消
儲存