guomengjiao месяцев назад: 5
Родитель
Сommit
ef76f95935

+ 1 - 1
modules/report/src/main/java/com/jeesite/modules/report/util/AlipayUtil.java

@@ -169,7 +169,7 @@ public class AlipayUtil {
         model.setTimeoutExpress(timeout);
 
         request.setBizModel(model);
-        AlipayTradeWapPayResponse response = alipayClient.pageExecute(request, "POST");
+        AlipayTradeWapPayResponse response = alipayClient.pageExecute(request, "GET");
         // 如果需要返回GET请求,请使用
         // AlipayTradeWapPayResponse response = alipayClient.pageExecute(request, "GET");
         logger.info("支付宝 payH5 响应:{}", JSONObject.toJSONString(response));

+ 1 - 1
web/src/main/resources/config/application.yml

@@ -936,7 +936,7 @@ alipay:
   # 服务器异步通知页面路径
   notify_url: http://frp.songlanyun.com:8801/js/a/api/report/websiteUserOrder/pay/asyncNotify
   # 页面跳转同步通知页面路径
-  return_url: http://frp.songlanyun.com:8801/
+  return_url: http://frp.songlanyun.com:8801/mine/payBack
   # 签名方式
   sign_type: RSA2
   # 字符编码格式