|
@@ -156,12 +156,8 @@ abstract class BasicAliPay
|
|
|
*/
|
|
|
public function notify($needSignType = false)
|
|
|
{
|
|
|
- $data = ['aa'=>1];
|
|
|
- file_put_contents('pay1.txt',json_encode($data));
|
|
|
- die;
|
|
|
$data = $_POST;
|
|
|
file_put_contents("aplopenvip1.txt", json_encode($data,true) . "\n" . "\n", FILE_APPEND);
|
|
|
- file_put_contents("aplopenvip2.txt", $data . "\n" . "\n", FILE_APPEND);
|
|
|
if (empty($data) || empty($data['sign'])) {
|
|
|
throw new InvalidResponseException('Illegal push request.', 0, $data);
|
|
|
}
|