pang.jiabao
2025-10-27 3b17ccf3fd001cbec7a8bac368f07cd9237faae8
src/main/java/com/zy/common/utils/Http.java
@@ -13,9 +13,9 @@
 */
public class Http {
    public static void response(HttpServletResponse response, String baseRes){
    public static void response(HttpServletResponse response, String baseRes) {
        response.setCharacterEncoding("utf-8");
        response.setContentType("application/json; charset=utf-8");
        response.setContentType("application/json");
        try (PrintWriter out = response.getWriter()) {
            R r = R.parse(baseRes);
            JSONObject jsonObject = new JSONObject();