| | |
| | | logger.error("调用api异常", e); |
| | | responseEntity = new ResponseEntity<>(e.getMessage(), HttpStatus.INTERNAL_SERVER_ERROR); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | logger.error("调用api异常", e); |
| | | String msg = ""; |
| | | if (e instanceof InvocationTargetException) { |
| | |
| | | } catch (SMOException e) { |
| | | /*MultiValueMap<String, String> headers = new HttpHeaders(); |
| | | headers.add("code", e.getResult().getCode());*/ |
| | | e.printStackTrace(); |
| | | logger.error("调用组件异常", e); |
| | | responseEntity = new ResponseEntity<>(e.getMessage(), HttpStatus.INTERNAL_SERVER_ERROR); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | logger.error("调用组件异常", e); |
| | | String msg = ""; |
| | | if (e instanceof InvocationTargetException) { |