nacos配置文件户及数据库文件
This commit is contained in:
parent
ec4e5d5ed5
commit
15f6d48935
|
|
@ -25,7 +25,7 @@ public class MyFilter extends OncePerRequestFilter {
|
|||
|
||||
@Override
|
||||
protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws ServletException, IOException {
|
||||
if (SystemGlobal.POST.equals(request.getMethod())){
|
||||
if (SystemGlobal.POST.equals(request.getMethod()) || SystemGlobal.PUT.equals(request.getMethod()) ){
|
||||
//去除文件上传
|
||||
String header = request.getHeader(HttpHeaders.CONTENT_TYPE);
|
||||
if(StringUtils.isNotEmpty(header)){
|
||||
|
|
|
|||
Loading…
Reference in New Issue