generated from root/miduo_server
修改F5官网包支付接口
parent
d1236f1549
commit
947906f36d
|
@ -2340,6 +2340,7 @@ public class PayController {
|
||||||
String payChannel,
|
String payChannel,
|
||||||
long userId,
|
long userId,
|
||||||
String serverId,
|
String serverId,
|
||||||
|
String gameUserId,
|
||||||
int orderStatus,
|
int orderStatus,
|
||||||
String statusMsg,
|
String statusMsg,
|
||||||
Integer ots,
|
Integer ots,
|
||||||
|
@ -2351,9 +2352,9 @@ public class PayController {
|
||||||
json.put("userId", userId);
|
json.put("userId", userId);
|
||||||
try {
|
try {
|
||||||
LOGGER.info("f5Notify--01, appId={},orderId={},defaultAmount={},defaultCurrency={},gameAmount={}," +
|
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
|
"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){
|
if(productId == null){
|
||||||
productId = "";
|
productId = "";
|
||||||
}
|
}
|
||||||
|
@ -2402,8 +2403,11 @@ public class PayController {
|
||||||
if(statusMsg == null){
|
if(statusMsg == null){
|
||||||
statusMsg = "";
|
statusMsg = "";
|
||||||
}
|
}
|
||||||
|
if(gameUserId == null){
|
||||||
|
gameUserId = "";
|
||||||
|
}
|
||||||
String signStr = appId + orderId + defaultAmount + defaultCurrency + gameAmount + gameCurrency + productId +
|
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);
|
LOGGER.info("f5GwNotify--02, signStr={}",signStr);
|
||||||
String mySign=MD5Util.encrypByMd5(signStr);
|
String mySign=MD5Util.encrypByMd5(signStr);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue