|
@@ -74,14 +74,14 @@ public class WorkController {
|
|
|
// }
|
|
|
|
|
|
|
|
|
- @ApiOperation(value = "上传-文件(文件估计命名)", notes = "上传资料会放到场景码的跟目录, 文件固定命名, 场景码:必传")
|
|
|
+ @ApiOperation(value = "上传-文件(文件固定命名)", notes = "上传资料会放到场景码的跟目录, 文件固定命名, 场景码:必传")
|
|
|
@PostMapping(value = "uploadFix/{sceneCode}")
|
|
|
public Result uploadFix(@RequestParam("file") MultipartFile file, @PathVariable String sceneCode) {
|
|
|
return workService.uploadFix(file, sceneCode);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "普通上传-文件(后端时间戳命名)", notes = "场景码:必传")
|
|
|
- @PostMapping(value = "uploadFix/{sceneCode}")
|
|
|
+ @ApiOperation(value = "普通上传-文件(后端用时间戳命名)", notes = "场景码:必传")
|
|
|
+ @PostMapping(value = "upload/{sceneCode}")
|
|
|
public Result upload(@RequestParam("file") MultipartFile file, @PathVariable String sceneCode) {
|
|
|
return workService.upload(file, sceneCode);
|
|
|
}
|