新增了PDF的在线打开
This commit is contained in:
parent
e4c28fdf8f
commit
17a63efca1
@ -642,6 +642,9 @@ public class FileServiceImpl extends AbstractService implements IFileService {
|
|||||||
case "apk":
|
case "apk":
|
||||||
contentType = "application/vnd.android.package-archive";
|
contentType = "application/vnd.android.package-archive";
|
||||||
break;
|
break;
|
||||||
|
case "pdf":
|
||||||
|
contentType = "application/pdf";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
contentType = "application/octet-stream";
|
contentType = "application/octet-stream";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user