shiyj
2019-09-02 b784175e978b0fcfca8ca8bed7953ae4eacf49e8
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;
    }