fix: 商家卷-修改批次预算API请求方法应该为Patch

Closes #79
This commit is contained in:
xiafang
2022-09-28 08:35:20 +08:00
parent f73be6452e
commit e1616c5606
2 changed files with 2 additions and 2 deletions

View File

@@ -460,7 +460,7 @@ public enum WechatPayV3Type {
*/ */
MARKETING_BUSI_FAVOR_DISASSOCIATE(HttpMethod.POST, "%s/v3/marketing/busifavor/coupons/disassociate"), MARKETING_BUSI_FAVOR_DISASSOCIATE(HttpMethod.POST, "%s/v3/marketing/busifavor/coupons/disassociate"),
/** /**
* 取消关联订单信息API. * 修改批次预算API.
* *
* @since 1.0.4.RELEASES * @since 1.0.4.RELEASES
*/ */

View File

@@ -360,7 +360,7 @@ public class WechatMarketingBusiFavorApi extends AbstractApi {
.expand(budgetParams.getStockId()) .expand(budgetParams.getStockId())
.toUri(); .toUri();
budgetParams.setStockId(null); budgetParams.setStockId(null);
return Post(uri, budgetParams); return Patch(uri, budgetParams);
}) })
.consumer(wechatResponseEntity::convert) .consumer(wechatResponseEntity::convert)
.request(); .request();