新增了PDF的在线打开

This commit is contained in:
wenc000 2020-07-18 10:19:16 +08:00
parent e4c28fdf8f
commit 17a63efca1

View File

@ -642,6 +642,9 @@ public class FileServiceImpl extends AbstractService implements IFileService {
case "apk":
contentType = "application/vnd.android.package-archive";
break;
case "pdf":
contentType = "application/pdf";
break;
default:
contentType = "application/octet-stream";
}