mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-06-28 13:16:19 +08:00
修复物流服务-查询组件-更新物品信息接口地址
This commit is contained in:
parent
03790d64bc
commit
1f6aa754ec
@ -207,7 +207,7 @@ public class WxMaImmediateDeliveryServiceImpl implements WxMaImmediateDeliverySe
|
||||
|
||||
@Override
|
||||
public WxMaBaseResponse updateWaybillGoods(UpdateWaybillGoodsRequest request) throws WxErrorException {
|
||||
String responseContent = this.wxMaService.post(InstantDelivery.GET_DELIVERY_LIST_URL,request);
|
||||
String responseContent = this.wxMaService.post(InstantDelivery.UPDATE_WAYBILL_GOODS_URL,request);
|
||||
WxMaBaseResponse response = WxMaGsonBuilder.create().fromJson(responseContent, WxMaBaseResponse.class);
|
||||
if (response.getErrcode() == -1) {
|
||||
throw new WxErrorException(WxError.fromJson(responseContent, WxType.MiniApp));
|
||||
|
@ -626,7 +626,7 @@ public class WxMaApiUrlConstants {
|
||||
String GET_DELIVERY_LIST_URL =
|
||||
"https://api.weixin.qq.com/cgi-bin/express/delivery/open_msg/get_delivery_list";
|
||||
|
||||
/** 获取运力id列表get_delivery_list 商户使用此接口获取所有运力id的列表 */
|
||||
/** 物流服务-查询组件-更新物品信息接口 update_waybill_goods 更新物品信息 */
|
||||
String UPDATE_WAYBILL_GOODS_URL =
|
||||
"https://api.weixin.qq.com/cgi-bin/express/delivery/open_msg/update_waybill_goods";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user