|
|
@@ -51,7 +51,7 @@ public class QueryStaffServiceListener extends AbstractServiceApiDataFlowListene
|
|
|
Map<String,String> headers = dataFlowContext.getRequestHeaders();
|
|
|
|
|
|
Assert.hasKeyAndValue(headers,"page","请求报文中未包含page节点");
|
|
|
- Assert.hasKeyAndValue(headers,"row","请求报文中未包含rows节点");
|
|
|
+ Assert.hasKeyAndValue(headers,"rows","请求报文中未包含rows节点");
|
|
|
Assert.hasKeyAndValue(headers,"storeId","请求报文中未包含storeId节点");
|
|
|
|
|
|
ResponseEntity responseEntity= null;
|
|
|
@@ -66,7 +66,7 @@ public class QueryStaffServiceListener extends AbstractServiceApiDataFlowListene
|
|
|
header.add(CommonConstant.HTTP_SERVICE.toLowerCase(),ServiceCodeConstant.SERVICE_CODE_QUERY_STORE_USERS);
|
|
|
|
|
|
//先查询商户服务查询员工userId
|
|
|
- requestUrl = requestUrl + "?page="+headers.get("page")+"&row="+headers.get("row")+"&storeId="+headers.get("storeId");
|
|
|
+ requestUrl = requestUrl + "?page="+headers.get("page")+"&rows="+headers.get("rows")+"&storeId="+headers.get("storeId");
|
|
|
dataFlowContext.getRequestHeaders().put("REQUEST_URL",requestUrl);
|
|
|
HttpEntity<String> httpEntity = new HttpEntity<String>("", header);
|
|
|
doRequest(dataFlowContext,appService,httpEntity);
|