修改F5官网包支付接口

main
grimm 2025-09-03 14:37:05 +08:00
parent d1236f1549
commit 947906f36d
1 changed files with 7 additions and 3 deletions

View File

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