| | |
| | | import java.io.IOException; |
| | | import java.net.URL; |
| | | import java.util.List; |
| | | import java.util.Objects; |
| | | |
| | | import static com.dji.sample.component.AuthInterceptor.TOKEN_CLAIM; |
| | | |
| | |
| | | |
| | | @GetMapping("/getMediaInfo") |
| | | public ResponseResult mediaInfo(@RequestParam String fileName) { |
| | | return ResponseResult.success(fileService.mediaInfo(fileName)); |
| | | |
| | | Object info = fileService.mediaInfo(fileName); |
| | | if (info!=null){ |
| | | return ResponseResult.success(info); |
| | | } |
| | | return ResponseResult.success("图片正在加载"); |
| | | } |
| | | |
| | | @GetMapping("/{workspace_id}/files/{job_id}") |
| | |
| | | @RequestParam(name = "updateStart", required = false) Long photoStart, |
| | | @RequestParam(name = "updateEnd", required = false) Long photoEnd, |
| | | @RequestParam(name = "jobName", required = false) String jobName, |
| | | @RequestParam( required = false) String type |
| | | @RequestParam(required = false) String type |
| | | ) { |
| | | |
| | | return ResponseResult.success(fileService.MediaQuery(page, pageSize, updateStart, updateEnd, photoStart, photoEnd, jobName,workspaceId,type)); |
| | | return ResponseResult.success(fileService.MediaQuery(page, pageSize, updateStart, updateEnd, photoStart, photoEnd, jobName, workspaceId, type)); |
| | | |
| | | } |
| | | |