no message

This commit is contained in:
2025-09-03 14:05:11 +08:00
parent 6dd07e5a66
commit dc40b89309

View File

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