Commit ab3b4d06 by chamberone

fix: param type error

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