From 7ddafd65b2363dc4218468d12c798822a6c0cd45 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期六, 12 四月 2025 18:13:22 +0800 Subject: [PATCH] 修改文档bug --- UserIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/Tingg/TinggPayUtil.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/UserIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/Tingg/TinggPayUtil.java b/UserIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/Tingg/TinggPayUtil.java index 340fb6b..49f4762 100644 --- a/UserIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/Tingg/TinggPayUtil.java +++ b/UserIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/Tingg/TinggPayUtil.java @@ -38,9 +38,10 @@ try { CheckoutEncryption checkoutEncrption = new CheckoutEncryption(ivKey, secretKey); Payload payload = getPayload(checkoutRequest); + log.info("支付请求参数:{}", JSON.toJSONString(payload)); String param = checkoutEncrption.encrypt(payload); - log.error("调起支付:" + checkoutRequest.getMerchantTransactionId() + "\nEncrpted payload=" + param); String url = "https://checkout.tingg.africa/express/checkout?encrypted_payload=" + param + "&access_key=" + accessKey; + log.info("支付链接:{}", url); return ResultUtil.success(url); }catch (Exception e){ e.printStackTrace(); -- Gitblit v1.7.1