yuliang il y a 1 an
Parent
commit
05eff41f3c
1 fichiers modifiés avec 1 ajouts et 5 suppressions
  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",