mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
refactor: change parameter type of getting instance detail API
This commit is contained in:
parent
ef384b5574
commit
519d370445
@ -73,8 +73,8 @@ public class InstanceController {
|
||||
}
|
||||
|
||||
@GetMapping("/detail")
|
||||
public ResultDTO<InstanceDetailVO> getInstanceDetail(String instanceId) {
|
||||
return ResultDTO.success(InstanceDetailVO.from(instanceService.getInstanceDetail(Long.valueOf(instanceId))));
|
||||
public ResultDTO<InstanceDetailVO> getInstanceDetail(Long instanceId) {
|
||||
return ResultDTO.success(InstanceDetailVO.from(instanceService.getInstanceDetail(instanceId)));
|
||||
}
|
||||
|
||||
@GetMapping("/log")
|
||||
|
Loading…
x
Reference in New Issue
Block a user