wuxw7
2019-03-20 8e35f181e2b09bc3e60255013a062e386e0f15fb
WebService/src/main/java/com/java110/web/smo/impl/LoginServiceSMOImpl.java
@@ -44,7 +44,7 @@
        loginInfo.put("passwd", AuthenticationFactory.passwdMd5(loginInfo.getString("passwd")));
        responseEntity = this.callCenterService(restTemplate,pd,loginInfo.toJSONString(),ServiceConstant.SERVICE_API_URL+"/api/user.service.login",HttpMethod.POST);
        if(responseEntity.getStatusCode() == HttpStatus.OK){
            pd.setToken(responseEntity.getBody());
            pd.setToken(JSONObject.parseObject(responseEntity.getBody()).getString("token"));
        }
        return responseEntity;
    }