|
@@ -154,6 +154,7 @@ public class ApiCommonController {
|
|
|
try {
|
|
|
inputStream = MinioUtil.getMinioFile(imgPath);
|
|
|
outputStream = response.getOutputStream();
|
|
|
+ response.setContentType("application/pdf; charset=UTF-8");
|
|
|
byte[] buf = new byte[1024];
|
|
|
int len;
|
|
|
while ((len = inputStream.read(buf)) > 0) {
|