Commit 44b91781 authored by pengxin's avatar pengxin

更改接收参数。

parent 7f447ff0
...@@ -82,7 +82,7 @@ public class DatasetCleanController { ...@@ -82,7 +82,7 @@ public class DatasetCleanController {
*/ */
@OperationLog(type = SysOperationLogType.STOP_CLEAN) @OperationLog(type = SysOperationLogType.STOP_CLEAN)
@PostMapping("/stopClean") @PostMapping("/stopClean")
public ResponseResult<Void> stopClean(@RequestParam Long cleanId) { public ResponseResult<Void> stopClean(@RequestBody Long cleanId) {
if (MyCommonUtil.existBlankArgument(cleanId)) { if (MyCommonUtil.existBlankArgument(cleanId)) {
return ResponseResult.error(ErrorCodeEnum.ARGUMENT_NULL_EXIST); return ResponseResult.error(ErrorCodeEnum.ARGUMENT_NULL_EXIST);
} }
...@@ -98,7 +98,7 @@ public class DatasetCleanController { ...@@ -98,7 +98,7 @@ public class DatasetCleanController {
*/ */
@OperationLog(type = SysOperationLogType.RESTART_CLEAN) @OperationLog(type = SysOperationLogType.RESTART_CLEAN)
@PostMapping("/restartClean") @PostMapping("/restartClean")
public ResponseResult<Void> restartClean(@RequestParam Long cleanId) { public ResponseResult<Void> restartClean(@RequestBody Long cleanId) {
if (MyCommonUtil.existBlankArgument(cleanId)) { if (MyCommonUtil.existBlankArgument(cleanId)) {
return ResponseResult.error(ErrorCodeEnum.ARGUMENT_NULL_EXIST); return ResponseResult.error(ErrorCodeEnum.ARGUMENT_NULL_EXIST);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment