1、修改bug

This commit is contained in:
wangjian 2023-03-24 08:50:34 +08:00
parent c9dd1ee1de
commit 1d78596095
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ type TaskResponseBody struct {
TaskCode string `json:"taskCode"`
NodeId int64 `json:"nodeId"`
ModelId int64 `json:"modelId"`
SrcPath string `json:"srcPath"`
StartTime int64 `json:"startTime"`
FinishTime int64 `json:"finishTime"`
Msg string `json:"msg"`

View File

@ -139,6 +139,7 @@ ReturnPoint:
item.TaskCode = payload["taskCode"].(string)
item.NodeId = int64(payload["nodeId"].(float64))
item.ModelId = int64(payload["modelId"].(float64))
item.SrcPath = fc.FileName
item.StartTime = startTime
item.FinishTime = time.Now().Unix()
if err != nil {