|
@@ -80,7 +80,11 @@ public class SysFileController
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * 通用上传请求
|
|
|
+ * 功能描述: 查看BooleanUtils.isTrue(dto.getPreview())
|
|
|
+ * 下载BooleanUtils.isFalse(dto.getPreview())
|
|
|
+ *
|
|
|
+ * @param dto absolutePath preview
|
|
|
+ * @param response response
|
|
|
*/
|
|
|
@PostMapping("/previewAndDownload")
|
|
|
public void previewAndDownload(@RequestBody FileDto dto, HttpServletResponse response) throws RuntimeException, IOException {
|