no message
This commit is contained in:
@ -415,30 +415,35 @@ public class ItemServiceImpl implements ItemService {
|
||||
|
||||
@Override
|
||||
public OpenResponse<String> shopQuery() {
|
||||
return AlipayApiTemplate.execute(new AlipayApiCallback<String, AntMerchantExpandShopQueryResponse >() {
|
||||
return AlipayApiTemplate.execute(new AlipayApiCallback<String, AntMerchantExpandShopPageQueryResponse >() {
|
||||
@Override
|
||||
public AntMerchantExpandShopQueryResponse process() throws AlipayApiException {
|
||||
public AntMerchantExpandShopPageQueryResponse process() throws AlipayApiException {
|
||||
// 构造请求参数以调用接口
|
||||
AntMerchantExpandShopQueryRequest request = new AntMerchantExpandShopQueryRequest();
|
||||
AntMerchantExpandShopQueryModel model = new AntMerchantExpandShopQueryModel();
|
||||
AntMerchantExpandShopPageQueryRequest request = new AntMerchantExpandShopPageQueryRequest();
|
||||
AntMerchantExpandShopPageQueryModel model = new AntMerchantExpandShopPageQueryModel();
|
||||
// 设置履约类型
|
||||
// 设置外部门店编号
|
||||
model.setStoreId("No.0731101");
|
||||
//model.setStoreId("No.0731101");
|
||||
model.setIpRoleId("2021004169641281");
|
||||
|
||||
// 设置页码
|
||||
model.setPageNum(1L);
|
||||
|
||||
// 设置每页查询大小
|
||||
model.setPageSize(10L);
|
||||
//ST1000000000000010
|
||||
request.setBizModel(model);
|
||||
return alipaySdkUtil.execute(request);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getData(AntMerchantExpandShopQueryResponse response) {
|
||||
public String getData(AntMerchantExpandShopPageQueryResponse response) {
|
||||
return response.getBody();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getApiName() {
|
||||
return "ant.merchant.expand.shop.query";
|
||||
return "ant.merchant.expand.shop.page.query";
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user