🐛 【小程序】修复获取运力id列表接口传参问题

This commit is contained in:
Binary Wang 2024-07-15 17:03:14 +08:00
parent 726269988a
commit f5bb2ba2d0

View File

@ -197,7 +197,7 @@ public class WxMaImmediateDeliveryServiceImpl implements WxMaImmediateDeliverySe
@Override @Override
public GetDeliveryListResponse getDeliveryList() throws WxErrorException { public GetDeliveryListResponse getDeliveryList() throws WxErrorException {
String responseContent = this.wxMaService.post(InstantDelivery.GET_DELIVERY_LIST_URL,""); String responseContent = this.wxMaService.post(InstantDelivery.GET_DELIVERY_LIST_URL,"{}");
GetDeliveryListResponse response = GetDeliveryListResponse.fromJson(responseContent); GetDeliveryListResponse response = GetDeliveryListResponse.fromJson(responseContent);
if (response.getErrcode() == -1) { if (response.getErrcode() == -1) {
throw new WxErrorException(WxError.fromJson(responseContent, WxType.MiniApp)); throw new WxErrorException(WxError.fromJson(responseContent, WxType.MiniApp));