Browse Source

提交代码

tags/v1.22.12.1^2
ychao_1983 3 years ago
parent
commit
11982404d8
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      routers/repo/grampus.go

+ 1
- 2
routers/repo/grampus.go View File

@@ -314,8 +314,7 @@ func grampusNotebookNewDataPrepare(ctx *context.Context, processType string) err
func grampusTrainJobNewDataPrepare(ctx *context.Context, processType string) error {
ctx.Data["PageIsCloudBrain"] = true

t := time.Now()
var displayJobName = jobNamePrefixValid(cutString(ctx.User.Name, 5)) + t.Format("2006010215") + strconv.Itoa(int(t.Unix()))[5:]
var displayJobName = cloudbrainService.GetDisplayJobName(ctx.User.Name)
ctx.Data["display_job_name"] = displayJobName

//get valid images


Loading…
Cancel
Save