龚焕茏
2024-05-17 6d05f0dc6e96ead24bb7e035e16f18031b1ede78
src/main/java/com/mindskip/xzs/configuration/spring/security/RestUtil.java
@@ -52,7 +52,7 @@
     */
    public static void response(HttpServletResponse response, int systemCode, String msg, Object content) {
        try {
            RestResponse res = new RestResponse<>(systemCode, msg, content);
            RestResponse res = RestResponse.response(systemCode, msg, content);
            String resStr = JsonUtil.toJsonStr(res);
            response.setContentType("application/json;charset=utf-8");
            response.getWriter().write(resStr);