feat: 下载加密变更

国标、海外 列表页下载、详情页下载、无水印下载不加密
企标:列表页下载、详情页下载、无水印下载研发密,
其他的全部OA密。
This commit is contained in:
2024-03-19 10:30:30 +08:00
parent 1ea3fd2054
commit 2a2e10a11b
6 changed files with 84 additions and 17 deletions
@@ -222,6 +222,31 @@ public class CommonController {
downloadAndView(id, response);
}
/**
* 下载不带水印不加密的文件
*
* @param id 传入文件id
* @param response
*/
@ApiOperation(value = "下载不带水印不加密的文件", notes = "下载不带水印不加密的文件")
@GetMapping(value = "/noEncryptDownloadWithoutWaterMark/{id}")
public void noEncryptDownloadWithoutWaterMark(@PathVariable String id, HttpServletResponse response) {
downloadAndView(id, response);
}
/**
* 下载不带水印研发加密的文件
*
* @param id 传入文件id
* @param response
*/
@ApiOperation(value = "下载不带水印研发加密的文件", notes = "下载不带水印研发加密的文件")
@GetMapping(value = "/devEncryptDownloadWithoutWaterMark/{id}")
public void devEncryptDownloadWithoutWaterMark(@PathVariable String id, HttpServletResponse response) {
downloadAndView(id, response);
}
/**
* 下载文件(不带token)
*