Commit 7b340ceb1834cc0dfd43055bf242a2cb99bf190c

Authored by 云中非
1 parent aa5596f4

fix: 错误码返回400

@@ -96,7 +96,7 @@ public class ControllerExceptionHandler { @@ -96,7 +96,7 @@ public class ControllerExceptionHandler {
96 public void handleEntityCreationException(HttpServletResponse response) { 96 public void handleEntityCreationException(HttpServletResponse response) {
97 errorResponseHandler.handle( 97 errorResponseHandler.handle(
98 new YunTengException( 98 new YunTengException(
99 - ErrorMessage.SEND_DESTINATION_NOT_FOUND, HttpStatus.PRECONDITION_FAILED), 99 + ErrorMessage.SEND_DESTINATION_NOT_FOUND, HttpStatus.BAD_REQUEST),
100 response); 100 response);
101 } 101 }
102 102