|
|
@@ -124,6 +124,7 @@ public class ExceptionHandlerAdvice {
|
|
|
* @throws IOException
|
|
|
*/
|
|
|
public static void handleError(HttpServletResponse response, Integer status, String message) throws IOException {
|
|
|
+ response.setHeader("Content-type", "text/html;charset=UTF-8");
|
|
|
response.setStatus(status);
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
jsonObject.put("success", false);
|