get请求 ,对应请求头 @RequestParm,
post请求, 对应请求体 ,@RequestBody
两个Integer参数情况
@GetMapping("/insertStaffClass")public R<Void> insertStaffClass(@RequestParam Integer staffId,@RequestParam List<Integer> ids) {return exStaffService.insertStaffClass(staffId,ids);}