mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-07 10:22:38 +08:00
账户充值
This commit is contained in:
@ -31,6 +31,9 @@ class Rechargenotify
|
||||
*/
|
||||
public function notify($params = [])
|
||||
{
|
||||
file_put_contents(ROOT.'qqqqqq.txt', json_encode(array_merge($_GET, $_POST)));
|
||||
file_put_contents(ROOT.'pppppp.txt', json_encode($params));
|
||||
|
||||
$ret = PayService::Notify($params);
|
||||
if($ret['code'] == 0)
|
||||
{
|
||||
|
||||
@ -259,6 +259,7 @@ class PayService
|
||||
// 支付数据校验
|
||||
$pay_name = 'payment\\'.PAYMENT_TYPE;
|
||||
$ret = (new $pay_name($payment[0]['config']))->Respond(array_merge($_GET, $_POST));
|
||||
file_put_contents(ROOT.'tttttt.txt', json_encode($ret));
|
||||
if(!isset($ret['code']) || $ret['code'] != 0)
|
||||
{
|
||||
return $ret;
|
||||
|
||||
Reference in New Issue
Block a user