|
|
@@ -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 {
|