|
|
|
@ -10,6 +10,7 @@ import io.swagger.annotations.ApiParam;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.http.HttpStatus;
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
@ -23,7 +24,7 @@ public class TeaResourceDataController {
|
|
|
|
|
@Autowired
|
|
|
|
|
ITeaResourceDataService resourceDataService;
|
|
|
|
|
//数据集上传
|
|
|
|
|
@GetMapping("uploadResourceData")
|
|
|
|
|
@PostMapping("uploadResourceData")
|
|
|
|
|
@ApiOperation("数据集文件上传")
|
|
|
|
|
@AnonymousAccess
|
|
|
|
|
public ResultEntity uploadResourceData(@RequestParam MultipartFile file,
|
|
|
|
|