提交 9795fd52 authored 作者: 133's avatar 133

【zjm】 bug提交

上级 766e3a97
......@@ -325,7 +325,7 @@ public class JavaToPdfHtmlFreeMarker {
}
Long endTime = System.currentTimeMillis();
System.out.print("Itext parse Html to Confirm Pdf End -> " + (endTime - startTime));
return new FileRet("", pdfPath, preview +"documents/"+ name);
return new FileRet("", pdfPath, preview +"confirm/"+ name);
} catch (IOException | DocumentException e) {
e.printStackTrace();
} finally {
......@@ -427,7 +427,7 @@ public class JavaToPdfHtmlFreeMarker {
}
Long endTime = System.currentTimeMillis();
System.out.print("Itext parse Html to Destruction Pdf End -> " + (endTime - startTime));
return new FileRet("", pdfPath, preview +"documents/"+ name);
return new FileRet("", pdfPath, preview +"destruction/"+ name);
} catch (IOException | DocumentException e) {
e.printStackTrace();
} finally {
......
......@@ -277,6 +277,9 @@
.evenrowcolor{
background-color:#fafafa;
}
tr:nth-child(odd) {
background: #fafafa;
}
</style>
</head>
<body>
......
......@@ -146,7 +146,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
@Override
public void configure(WebSecurity web) {
//swagger静态资源访问
web.ignoring().antMatchers("/v2/api-docs", "/v2/api-docs-ext", "/configuration/ui", "/swagger-resources/**", "/configuration/security", "/swagger-ui/", "/swagger-ui/**", "/swagger-ui.html", "/doc.html", "/webjars/**", "/swagger-resources/configuration/ui", "**/swagge‌​r-ui.html", "/static/**", "/**/index.html", "**/index.html", "/index.html", "/js/**", "/css/**", "/fonds/**", "/img/**","/access/send","/user/s","/equip/file/llq/");
web.ignoring().antMatchers("/v2/api-docs", "/v2/api-docs-ext", "/configuration/ui", "/swagger-resources/**", "/configuration/security", "/swagger-ui/", "/swagger-ui/**", "/swagger-ui.html", "/doc.html", "/webjars/**", "/swagger-resources/configuration/ui", "**/swagge‌​r-ui.html", "/static/**", "/**/index.html", "**/index.html", "/index.html", "/js/**", "/css/**", "/fonds/**", "/img/**","/access/send","/user/s","/equip/file/llq/**");
}
@Bean
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论