Skip to content

Commit 0452a05

Browse files
cxiaoxifengbinarywang
authored andcommitted
🎨 【小程序】修复物流服务查询组件更新物品信息接口的地址
1 parent 4828a31 commit 0452a05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/api/impl/WxMaImmediateDeliveryServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public GetDeliveryListResponse getDeliveryList() throws WxErrorException {
207207

208208
@Override
209209
public WxMaBaseResponse updateWaybillGoods(UpdateWaybillGoodsRequest request) throws WxErrorException {
210-
String responseContent = this.wxMaService.post(InstantDelivery.GET_DELIVERY_LIST_URL,request);
210+
String responseContent = this.wxMaService.post(InstantDelivery.UPDATE_WAYBILL_GOODS_URL,request);
211211
WxMaBaseResponse response = WxMaGsonBuilder.create().fromJson(responseContent, WxMaBaseResponse.class);
212212
if (response.getErrcode() == -1) {
213213
throw new WxErrorException(WxError.fromJson(responseContent, WxType.MiniApp));

weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/constant/WxMaApiUrlConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ public interface InstantDelivery {
626626
String GET_DELIVERY_LIST_URL =
627627
"https://api.weixin.qq.com/cgi-bin/express/delivery/open_msg/get_delivery_list";
628628

629-
/** 获取运力id列表get_delivery_list 商户使用此接口获取所有运力id的列表 */
629+
/** 物流服务-查询组件-更新物品信息接口 update_waybill_goods 更新物品信息 */
630630
String UPDATE_WAYBILL_GOODS_URL =
631631
"https://api.weixin.qq.com/cgi-bin/express/delivery/open_msg/update_waybill_goods";
632632

0 commit comments

Comments
 (0)