后端方法接收
@Operation(summary = "1.分页查询用户接口", description = "分页查询用户",method="GET")
@RequestMapping(value = { "/fetch" }, method= RequestMethod.GET)
@ResponseBody
public ResponseEntity<?> fetch(@ModelAttribute("tNotice") Notice notice) {}
@Operation(summary = "批量逻辑删除", description = "批量删除",method="GET")
@RequestMapping(value = { "/batDel" }, method= RequestMethod.GET)
@ResponseBody
public ResponseEntity<?> batDel(
@Parameter(description = "主键数组")@RequestParam("batIds") String batIds,
@Parameter(description = "已读标识 0:未读;1:已读")@RequestParam("readFlag") String readFlag){}
@Operation(summary = "按名称查询用户接口", description = "按名称查询用户",method="GET")
@RequestMapping(value = { "/getByUsername/{username}" }, method= RequestMethod.GET)
@ResponseBody
public ResponseEntity<?> getByUsername(@PathVariable("username") String username) {}
@Operation(summary = "查询", description = "查询",method="POST")
@RequestMapping(value = { "/queryList" }, method= RequestMethod.POST)
@ResponseBody
public ResponseEntity<?> queryList(@RequestBody Notice notice){}