pang.jiabao
5 天以前 a1e94379b115721b2e604070dc48063b8016f72f
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();