提交 c935d680 authored 作者: lizhuo's avatar lizhuo

--no commit message

上级 1d81c314
......@@ -580,9 +580,7 @@ public class FileController {
}
@PostMapping("viewerit.html")
public String viewerit(HttpServletRequest request, HttpServletResponse response,String oid) throws Exception {
response.setStatus(HttpServletResponse.SC_OK);
response.setContentType("application/pdf;charset=UTF-8");
public String viewerit(String oid) throws Exception {
String filePath = null;
if (StringUtils.isNotBlank(oid)) {
FileInfo entity = new FileInfo();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论