wuxw
2019-09-15 cc117f61084b268ad0074b4ba6d7b1541a32ee8f
WebService/src/main/java/com/java110/web/controller/CallComponentController.java
@@ -60,8 +60,8 @@
            responseEntity = (ResponseEntity<String>) cMethod.invoke(componentInstance, pd);
        } catch (SMOException e) {
            MultiValueMap<String, String> headers = new HttpHeaders();
            headers.add("code", e.getResult().getCode());
            /*MultiValueMap<String, String> headers = new HttpHeaders();
            headers.add("code", e.getResult().getCode());*/
            responseEntity = new ResponseEntity<>(e.getMessage(), HttpStatus.INTERNAL_SERVER_ERROR);
        } catch (Exception e) {
            String msg = "";