From 947906f36d25bd5f304799206bf2c5d88d4c80a2 Mon Sep 17 00:00:00 2001 From: grimm <1769111741@qq.com> Date: Wed, 3 Sep 2025 14:37:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9F5=E5=AE=98=E7=BD=91=E5=8C=85?= =?UTF-8?q?=E6=94=AF=E4=BB=98=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/jmfy/controller/PayController.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/jmfy/controller/PayController.java b/src/main/java/com/jmfy/controller/PayController.java index 8e9b67d..3d72822 100644 --- a/src/main/java/com/jmfy/controller/PayController.java +++ b/src/main/java/com/jmfy/controller/PayController.java @@ -2340,6 +2340,7 @@ public class PayController { String payChannel, long userId, String serverId, + String gameUserId, int orderStatus, String statusMsg, Integer ots, @@ -2351,9 +2352,9 @@ public class PayController { json.put("userId", userId); try { LOGGER.info("f5Notify--01, appId={},orderId={},defaultAmount={},defaultCurrency={},gameAmount={}," + - "gameCurrency={},productId={},payChannel={},userId={},serverId={}," + + "gameCurrency={},productId={},payChannel={},userId={},serverId={},gameUserId={}" + "orderStatus={},statusMsg={},ots={},payDoneTime={},extInfo={},osign={}", appId,orderId,defaultAmount - ,defaultCurrency,gameAmount,gameCurrency,productId,payChannel,userId,serverId,orderStatus,statusMsg,ots,payDoneTime,extInfo,osign); + ,defaultCurrency,gameAmount,gameCurrency,productId,payChannel,userId,serverId,gameUserId,orderStatus,statusMsg,ots,payDoneTime,extInfo,osign); if(productId == null){ productId = ""; } @@ -2402,8 +2403,11 @@ public class PayController { if(statusMsg == null){ statusMsg = ""; } + if(gameUserId == null){ + gameUserId = ""; + } String signStr = appId + orderId + defaultAmount + defaultCurrency + gameAmount + gameCurrency + productId + - userId + serverId + orderStatus + ots + payDoneTime + extInfo + Constant.F5_GW_PAY_KEY; + userId + serverId + gameUserId + orderStatus + ots + payDoneTime + extInfo + Constant.F5_GW_PAY_KEY; LOGGER.info("f5GwNotify--02, signStr={}",signStr); String mySign=MD5Util.encrypByMd5(signStr);