You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
512 B

<?php
namespace yisheng\pay;
use yisheng\Base;
class Notify extends Base
{
/**
* 回调验证验证
* @param array $data 数据
* @date 2022-06-06
*/
public function notify($data, $sign_data)
{
//验证签名 0--失败 1--成功
$result = $this->verifySign($data, $sign_data);
// 记录日志
$uid = defined('UID') ? UID : '';
platformLog($data, $result, 'yisheng_pay_notify_check_sign_uid_' . $uid);
return $result;
}
}