wuxw
2019-07-11 b3f85b60ba9e39572e686009d36b5e5d7e81e910
WebService/src/main/java/com/java110/web/smo/impl/CompanyServiceSMOImpl.java
@@ -112,16 +112,21 @@
        reqJson.put("businessStoreCerdentials",businessStoreCerdentials);
        responseEntity = this.callCenterService(restTemplate,pd,reqJson.toJSONString(), ServiceConstant.SERVICE_API_URL+"/api/save.store.info", HttpMethod.POST);
        if(responseEntity.getStatusCode() != HttpStatus.OK){
       /* if(responseEntity.getStatusCode() != HttpStatus.OK){
            return responseEntity;
        }
        JSONObject resStoreInfo = JSONObject.parseObject(responseEntity.getBody().toString());
        //将现用户添加为商户管理员
        JSONObject staffInfo = new JSONObject();
        staffInfo.put("userId",pd.getUserId());
        staffInfo.put("storeId",pd.getUserId());
        staffInfo.put("storeId",resStoreInfo.getString("storeId"));
        responseEntity = this.callCenterService(restTemplate,pd,staffInfo.toJSONString(), ServiceConstant.SERVICE_API_URL+"/api/user.staff.add", HttpMethod.POST);
*/
        return responseEntity;
    }