add hpc appName

Signed-off-by: jagger <cossjie@foxmail.com>
This commit is contained in:
jagger 2025-04-22 11:38:37 +08:00
parent c2c2113f5d
commit 6f89b7f0c9
3 changed files with 3 additions and 0 deletions

View File

@ -1361,6 +1361,7 @@ type (
Remark string `json:"remark" db:"remark"`
InferUrl string `json:"inferUrl"`
WorkDir string `json:"workDir"`
AppName string `json:"appName"`
}
)

View File

@ -116,6 +116,7 @@ func (l *CommitHpcTaskLogic) CommitHpcTask(req *types.CommitHpcTaskReq) (resp *t
ClusterName: clusterInfo.Name,
NoticeType: "create",
TaskName: req.Name,
TaskId: taskModel.Id,
Incident: "任务创建中",
CreatedTime: time.Now(),
}

View File

@ -5339,6 +5339,7 @@ type SubTaskInfo struct {
Remark string `json:"remark" db:"remark"`
InferUrl string `json:"inferUrl"`
WorkDir string `json:"workDir"`
AppName string `json:"appName"`
}
type SubmitLinkTaskReq struct {