diff --git a/webapp/controller/RechargeController.class.php b/webapp/controller/RechargeController.class.php index 01fe7c1..6b46155 100644 --- a/webapp/controller/RechargeController.class.php +++ b/webapp/controller/RechargeController.class.php @@ -339,11 +339,7 @@ class RechargeController 'orderid' => $_REQUEST['orderid'], 'amount' => $_REQUEST['amount'], ); - $oristr = 'account_id=' + $_REQUEST['account_id'] + - '&goodsid=' + $_REQUEST['goodsid'] + - '&orderid=' + $_REQUEST['orderid'] + - '&amount=' + $_REQUEST['amount'] + - ':' + $_REQUEST['timestamp'] + 'NrN3zkVOzXF1vRzUc9eJM9ZKRO5eLooD'; + $oristr = 'account_id='.$_REQUEST['account_id'].'&goodsid='.$_REQUEST['goodsid'].'&orderid='.$_REQUEST['orderid'].'&amount='.$_REQUEST['amount'].':'.$_REQUEST['timestamp'].'NrN3zkVOzXF1vRzUc9eJM9ZKRO5eLooD'; // $sign = phpcommon\md5Sign($params, 'NrN3zkVOzXF1vRzUc9eJM9ZKRO5eLooD', $_REQUEST['timestamp']); $sign = md5($oristr); error_log('src:'.$oristr.'|'.$sign.'|'.$_REQUEST['sign']);