1、修改bug
This commit is contained in:
parent
c9dd1ee1de
commit
1d78596095
|
@ -20,6 +20,7 @@ type TaskResponseBody struct {
|
||||||
TaskCode string `json:"taskCode"`
|
TaskCode string `json:"taskCode"`
|
||||||
NodeId int64 `json:"nodeId"`
|
NodeId int64 `json:"nodeId"`
|
||||||
ModelId int64 `json:"modelId"`
|
ModelId int64 `json:"modelId"`
|
||||||
|
SrcPath string `json:"srcPath"`
|
||||||
StartTime int64 `json:"startTime"`
|
StartTime int64 `json:"startTime"`
|
||||||
FinishTime int64 `json:"finishTime"`
|
FinishTime int64 `json:"finishTime"`
|
||||||
Msg string `json:"msg"`
|
Msg string `json:"msg"`
|
||||||
|
|
|
@ -139,6 +139,7 @@ ReturnPoint:
|
||||||
item.TaskCode = payload["taskCode"].(string)
|
item.TaskCode = payload["taskCode"].(string)
|
||||||
item.NodeId = int64(payload["nodeId"].(float64))
|
item.NodeId = int64(payload["nodeId"].(float64))
|
||||||
item.ModelId = int64(payload["modelId"].(float64))
|
item.ModelId = int64(payload["modelId"].(float64))
|
||||||
|
item.SrcPath = fc.FileName
|
||||||
item.StartTime = startTime
|
item.StartTime = startTime
|
||||||
item.FinishTime = time.Now().Unix()
|
item.FinishTime = time.Now().Unix()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue