xiangpei
2024-05-17 f4f84ef25ce94e59dfe57961fcbb3c81f738ebb8
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);