From d65fd0a24354ab24e17affad607ca17dc2b11863 Mon Sep 17 00:00:00 2001 From: "felord.cn" Date: Thu, 4 Feb 2021 21:32:36 +0800 Subject: [PATCH] style: style format --- .../felord/payment/wechat/v3/WechatMarketingBusiFavorApi.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/payment-spring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/v3/WechatMarketingBusiFavorApi.java b/payment-spring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/v3/WechatMarketingBusiFavorApi.java index 6414fbd..3a05d8d 100644 --- a/payment-spring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/v3/WechatMarketingBusiFavorApi.java +++ b/payment-spring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/v3/WechatMarketingBusiFavorApi.java @@ -269,15 +269,12 @@ public class WechatMarketingBusiFavorApi extends AbstractApi { WechatResponseEntity wechatResponseEntity = new WechatResponseEntity<>(); this.client().withType(WechatPayV3Type.MARKETING_BUSI_FAVOR_GET_CALLBACKS, mchId) .function((type, id) -> { - UriComponentsBuilder uriComponentsBuilder = UriComponentsBuilder.fromHttpUrl(type.uri(WeChatServer.CHINA)); - if (StringUtils.hasText(id)) { MultiValueMap queryParams = new LinkedMultiValueMap<>(); queryParams.add("mchid", id); uriComponentsBuilder.queryParams(queryParams); } - URI uri = uriComponentsBuilder .build() .toUri();