优化查询截图时无截图时默认返回204
parent
2be43429fb
commit
3f330aeb37
|
@ -467,7 +467,7 @@ public class DeviceQuery {
|
||||||
in.close();
|
in.close();
|
||||||
outputStream.close();
|
outputStream.close();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
resp.setStatus(HttpServletResponse.SC_NOT_FOUND);
|
resp.setStatus(HttpServletResponse.SC_NO_CONTENT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue