!894 解决支付宝Wap创建的订单的超时时间无法生效的问题

Merge pull request !894 from 杨宇庆/N/A
This commit is contained in:
芋道源码 2024-03-01 00:56:10 +00:00 committed by Gitee
commit 24025d0c7c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -45,6 +45,7 @@ public class AlipayWapPayClient extends AbstractAlipayPayClient {
request.setNotifyUrl(reqDTO.getNotifyUrl()); request.setNotifyUrl(reqDTO.getNotifyUrl());
request.setReturnUrl(reqDTO.getReturnUrl()); request.setReturnUrl(reqDTO.getReturnUrl());
model.setQuitUrl(reqDTO.getReturnUrl()); model.setQuitUrl(reqDTO.getReturnUrl());
model.setTimeExpire(formatTime(reqDTO.getExpireTime()));
// 2.1 执行请求 // 2.1 执行请求
AlipayTradeWapPayResponse response = client.pageExecute(request, Method.GET.name()); AlipayTradeWapPayResponse response = client.pageExecute(request, Method.GET.name());