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);