yuliang 1 年之前
父節點
當前提交
05eff41f3c
共有 1 個文件被更改,包括 1 次插入5 次删除
  1. 1 5
      service/selection.go

+ 1 - 5
service/selection.go

@@ -60,11 +60,7 @@ func (*selection) Create(ctx context.Context, request http_model.CreateSelection
 		Platform:         conv.MustInt(request.Platform, 0),
 		ProductSnap:      string(productInfoToJson),
 		ProductPhotoSnap: string(productPhotosToJson),
-		CreatedAt:        time.Date(2026, 1, 1, 0, 0, 0, 0, time.UTC),
-		SubmitAt:         time.Date(2026, 1, 1, 0, 0, 0, 0, time.UTC),
-		PassAt:           time.Date(2026, 1, 1, 0, 0, 0, 0, time.UTC),
-		PayAt:            time.Date(2026, 1, 1, 0, 0, 0, 0, time.UTC),
-		FinishAt:         time.Date(2026, 1, 1, 0, 0, 0, 0, time.UTC),
+		CreatedAt:        time.Now(),
 		TaskDdl:          taskDdl,
 		EstimatedCost:    "0",
 		TaskReward:       "0",