pang.jiabao
2025-06-05 b9f5b7c6c0a66fa04e12ab2f85c0f015ad024a1a
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();