Commit ab3b4d06 by chamberone

fix: param type error

1 parent 84f8b04c
...@@ -37,8 +37,8 @@ public class DispatchController { ...@@ -37,8 +37,8 @@ public class DispatchController {
@GetMapping("/manual") @GetMapping("/manual")
public Result<?> manualDispatch( public Result<?> manualDispatch(
@RequestParam(value = "unimprovedSecondsSpentLimit", required = false) long unimprovedSecondsSpentLimit, @RequestParam(value = "unimprovedSecondsSpentLimit", required = false) Long unimprovedSecondsSpentLimit,
@RequestParam(value = "secondsSpentLimit", required = false) long secondsSpentLimit) { @RequestParam(value = "secondsSpentLimit", required = false) Long secondsSpentLimit) {
try { try {
return dispatchService.manualDispatch(unimprovedSecondsSpentLimit, secondsSpentLimit); return dispatchService.manualDispatch(unimprovedSecondsSpentLimit, secondsSpentLimit);
} catch (Exception e) { } catch (Exception e) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!