start&end time for list history job

This commit is contained in:
zhouqunjie 2023-06-12 19:48:33 +08:00
parent d9bae6d49c
commit cbaa2409c6
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@ func (l *ListHistoryJobLogic) ListHistoryJob(in *hpcAC.ListHistoryJobReq) (*hpcA
params := url.Values{}
params.Add("strClusterIDList", strconv.FormatInt(clusterId, 10))
params.Add("startTime", in.StartTime)
params.Add("endTime", in.EndTime)
reqUrl, err := http.NewRequest("GET", "https://api01.hpccube.com:65106/"+historyJobUrl+params.Encode(), nil)