mirror of
https://github.com/dromara/payment-spring-boot.git
synced 2026-03-13 21:33:41 +08:00
style: style format
This commit is contained in:
@@ -269,15 +269,12 @@ public class WechatMarketingBusiFavorApi extends AbstractApi {
|
||||
WechatResponseEntity<ObjectNode> 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<String, String> queryParams = new LinkedMultiValueMap<>();
|
||||
queryParams.add("mchid", id);
|
||||
uriComponentsBuilder.queryParams(queryParams);
|
||||
}
|
||||
|
||||
URI uri = uriComponentsBuilder
|
||||
.build()
|
||||
.toUri();
|
||||
|
||||
Reference in New Issue
Block a user