generated from root/miduo_server
增加log
parent
e0d963160a
commit
d1236f1549
|
@ -1949,7 +1949,7 @@ public class PayController {
|
||||||
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_PAY_KEY;
|
userId + serverId + orderStatus + ots + payDoneTime + extInfo + Constant.F5_PAY_KEY;
|
||||||
String mySign=MD5Util.encrypByMd5(signStr);
|
String mySign=MD5Util.encrypByMd5(signStr);
|
||||||
|
LOGGER.info("f5Notify--02, signStr={}",signStr);
|
||||||
if(!mySign.equals(osign)){
|
if(!mySign.equals(osign)){
|
||||||
LOGGER.error("错误信息:签名不一致 mySign={},osign={}", mySign,osign);
|
LOGGER.error("错误信息:签名不一致 mySign={},osign={}", mySign,osign);
|
||||||
json.put("code", -1);
|
json.put("code", -1);
|
||||||
|
@ -2404,6 +2404,7 @@ public class PayController {
|
||||||
}
|
}
|
||||||
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 + orderStatus + ots + payDoneTime + extInfo + Constant.F5_GW_PAY_KEY;
|
||||||
|
LOGGER.info("f5GwNotify--02, signStr={}",signStr);
|
||||||
String mySign=MD5Util.encrypByMd5(signStr);
|
String mySign=MD5Util.encrypByMd5(signStr);
|
||||||
|
|
||||||
if(!mySign.equals(osign)){
|
if(!mySign.equals(osign)){
|
||||||
|
|
Loading…
Reference in New Issue