src/main/java/com/example/jz/exception/BusinessException.java
@@ -3,7 +3,7 @@ import com.example.jz.enums.BusinessHttpStatus; import org.springframework.http.HttpStatus; public class BusinessException extends RuntimeException{ public class BusinessException extends RuntimeException { /** * @@ -35,7 +35,7 @@ public BusinessException(String msg) { super(msg); this.httpStatusCode = HttpStatus.BAD_REQUEST.value(); this.httpStatusCode = BusinessHttpStatus.BAD_EXCEPTION.value(); }