maker преди 3 години
родител
ревизия
9ca8b2b57e
променени са 2 файла, в които са добавени 0 реда и са изтрити 4 реда
  1. 0 4
      api/v1/task/upload_file.go
  2. BIN
      uploads/file/scriptFile/10d3279ef8b9a19d712844c66812a079_20230308150102.dll

+ 0 - 4
api/v1/task/upload_file.go

@@ -52,10 +52,6 @@ func (b *UploadFileApi) DownloadFile(c *gin.Context) {
 		response.FailWithMessage("taskId不能为空", c)
 		return
 	}
-	if md5String == "" {
-		response.FailWithMessage("md5值不能为空", c)
-		return
-	}
 	taskId, _ := strconv.Atoi(taskIdStr)
 	downloadFile, err := uploadFileService.DownloadFile(taskId, md5String)
 	if err != nil {

BIN
uploads/file/scriptFile/10d3279ef8b9a19d712844c66812a079_20230308150102.dll